log mem available and cpu perc in thermald

This commit is contained in:
Riccardo
2019-12-05 11:51:11 -08:00
parent 3b753be905
commit d0962b34b3

View File

@@ -287,6 +287,9 @@ struct ThermalData {
chargingError @17 :Bool;
chargingDisabled @18 :Bool;
memAvailPercent @19 :Int8;
cpuPerc @20 :Int8;
enum ThermalStatus {
green @0; # all processes run
yellow @1; # critical processes run (kill uploader), engage still allowed