@@ -159,7 +159,7 @@ def voltage_to_percent(voltage):
return 0
if v <= 0:
return int(round(_BATTERY_MONITOR.get_soc(v)))
return int(int(_BATTERY_MONITOR.get_soc(v) * 10) / 10) # 截断而不是四舍五入
class BatteryMonitor:
The note is not visible to the blocked user.