commit | 061778a8dad3b598b2a4ee3aea06a93995dff645 | [log] [tgz] |
---|---|---|
author | Todd Poynor <toddpoynor@google.com> | Mon Jan 30 17:27:39 2017 -0800 |
committer | Todd Poynor <toddpoynor@google.com> | Thu Feb 02 03:59:30 2017 +0000 |
tree | 21fa1bc28f20bc4c31f0337302e2115ec52bb384 | |
parent | 5ff091a1fdce0b3045463ac235ee106b03fdb63e [diff] |
libcutils: android_reboot: add thermal shutdown command Add ANDROID_RB_THERMOFF command to android_reboot(), denoting a power off due to thermal limits exceeded. When this command is used, Android may provide notification to the user about the potentially unexpected power off at next boot. Bug: 30994946 Test: Manual: setprop sys.powerctl thermal-shutdown Change-Id: If2cde1b6a3c281a5750b50295412a4801ed5b2f2