Descriptioncros: Prevent casual shut down and power save during migration.
In the migration UI, we ask users that "Don't turn off or close your Chromebook".
In addition, we can resume migration even when user shut down / suspend the device
during migration.
That said, it should be even safer to prevent casual shutdown and power save mode by:
- Hide "Shut down" button during migration.
- Block power save during migration.
Note that if the user close the lid, the system will be suspended.
We have heard about heat issues when the lid is closed, and the system will be
heated by heavy CPU usage of migration.
It should be safer not to keep the device awake when the lid is closed.
BUG=711454
TEST=manually tested that the "Shut down" button was hidden and the device did
not go to sleep mode during migration.
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Review-Url: https://codereview.chromium.org/2842433002
Cr-Commit-Position: refs/heads/master@{#466879}
Committed: https://chromium.googlesource.com/chromium/src/+/e88b030f517ff578aff9af1a5a7762fc313163ad
Patch Set 1 #
Total comments: 2
Patch Set 2 : Update BUILD.gn to include PowerSaveBlocker. #
Messages
Total messages: 20 (15 generated)
|