commit | ebef40eb6e841bd1f44d3b69e4f9f79f574e7732 | [log] [tgz] |
---|---|---|
author | Todd Poynor <toddpoynor@google.com> | Mon Jan 30 17:27:39 2017 -0800 |
committer | Keun-young Park <keunyoung@google.com> | Tue Mar 14 17:58:25 2017 -0700 |
tree | 724560b87dd74889145e9a426e026939724fc4d1 | |
parent | 2e17fde548dee1b634413e9f3a20624f8f90361c [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