Documentation
¶
Overview ¶
Poll thermal service for CPU/GPU temperatures, throttling status, and cooling devices.
Uses the generated IThermalService proxy via the "thermalservice" binder service and IHardwarePropertiesManager via "hardware_properties" for CPU usage and device temperatures.
Build:
GOOS=linux GOARCH=arm64 CGO_ENABLED=0 go build -o build/thermal_monitor ./examples/thermal_monitor/ adb push build/thermal_monitor /data/local/tmp/ && adb shell /data/local/tmp/thermal_monitor
Click to show internal directories.
Click to hide internal directories.