(chore)Fix A typo in BatteryStat plugin (#2912)

This commit is contained in:
Hzj_jie
2017-05-21 01:44:53 -07:00
committed by Frans de Jonge
parent c749c42b4b
commit d4756d777f

View File

@@ -192,7 +192,7 @@ end
function BatteryStat:onNotCharging()
self:debugOutput("onNotCharging")
self.was_charging = true
self:rest(false, true)
self:reset(false, true)
self:accumulate()
end