We've observed a couple of battery-related problems on Android,
and added fixes for them:

1) Computing while the battery is recharging can cause the recharging
rate to be reduced or become negative;
the latter happens especially when recharging via USB.
To fix this, we added the following hysteresis mechanism:
   - computing starts when the battery charge level exceeds 95%
   - then computing stops if the charge level falls below 90%

2) On at least 1 device (HTC One),
computing while the battery was recharging caused the battery to overheat.
We now stop computing if the battery overheats
(Android provides a way of detecting this).
However, this is possibly not good enough for 2 reasons:
   a) battery overheat on this device caused the display to go blank
      and the status light to alternate red/green.
      We don't want this to happen to users.
      I'm not sure if stopping immediately will avoid this state.
   b) the battery on this device seems to have been damaged by this incident,
      and now overheats quickly.
So we may need to continuously monitor the battery
temperature and suspend computing if it rises by some amount.

-- David
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to