commit | 4470b33557a1d13c3eb150c97005f21941ca50fe | [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 | 66009faf29266cad2183eed94e725b2ac3995a0f [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