diff options
author | Todd Poynor <toddpoynor@google.com> | 2017-01-30 17:27:39 -0800 |
---|---|---|
committer | Keun-young Park <keunyoung@google.com> | 2017-03-14 17:58:25 -0700 |
commit | 37bba3b88ad226cba8fbba0c7e1a6eb55213170a (patch) | |
tree | 724560b87dd74889145e9a426e026939724fc4d1 /debuggerd/libdebuggerd/utility.cpp | |
parent | 41c7bb50556e435c9b270b766b1880fdda8b4830 (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
Diffstat (limited to 'debuggerd/libdebuggerd/utility.cpp')
0 files changed, 0 insertions, 0 deletions