sysclk: get battery age instead of charge
This commit is contained in:
@@ -606,7 +606,7 @@ std::uint32_t Board::GetPartLoad(SysClkPartLoad loadSource)
|
|||||||
return idletick0;
|
return idletick0;
|
||||||
case HocClkPartLoad_BAT:
|
case HocClkPartLoad_BAT:
|
||||||
batteryInfoGetChargeInfo(&info);
|
batteryInfoGetChargeInfo(&info);
|
||||||
return info.RawBatteryCharge;
|
return info.BatteryAge;
|
||||||
case HocClkPartLoad_FAN:
|
case HocClkPartLoad_FAN:
|
||||||
return fanLevel;
|
return fanLevel;
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in New Issue
Block a user