dumpstate: dump state2power table am: bac5bc98ae
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15151834 Change-Id: I70dcd09ff5fe062a674e99ea706c558aeec66bd7
This commit is contained in:
commit
3e6c40cd69
1 changed files with 4 additions and 0 deletions
|
@ -470,6 +470,10 @@ void DumpstateDevice::dumpThermalSection(int fd) {
|
|||
"for f in /sys/class/thermal/cooling* ; do "
|
||||
"type=`cat $f/type` ; temp=`cat $f/cur_state` ; echo \"$type: $temp\" ; "
|
||||
"done"});
|
||||
RunCommandToFd(fd, "Cooling Device State2Power Table", {"/vendor/bin/sh", "-c",
|
||||
"for f in /sys/class/thermal/cooling* ; do "
|
||||
"type=`cat $f/type` ; state2power_table=`cat $f/state2power_table` ; echo \"$type: $state2power_table\" ; "
|
||||
"done"});
|
||||
}
|
||||
|
||||
// Dump items related to touch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue