dumpstate: dump state2power table am: bac5bc98ae am: e2ec28f639 am: ac51ae88a1
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101/+/15151834 Change-Id: Ibc8cd158fa8ea652ac115971c278fd463766c27c
This commit is contained in:
commit
4323d3e537
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 "
|
"for f in /sys/class/thermal/cooling* ; do "
|
||||||
"type=`cat $f/type` ; temp=`cat $f/cur_state` ; echo \"$type: $temp\" ; "
|
"type=`cat $f/type` ; temp=`cat $f/cur_state` ; echo \"$type: $temp\" ; "
|
||||||
"done"});
|
"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
|
// Dump items related to touch
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue