summaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorRicardo Cerqueira <ricardo@cyngn.com>2015-10-02 12:23:32 +0100
committerSteve Kondik <steve@cyngn.com>2015-10-28 13:30:35 -0700
commit5fbea51a0872388f91863a83414d27a30a998185 (patch)
treeb4fbaa1ad646b5476407dba20e290e2e6b358d4d /data
parent371334e80649f73175028091423cb0bdf4766638 (diff)
downloadframeworks_base-5fbea51a0872388f91863a83414d27a30a998185.zip
frameworks_base-5fbea51a0872388f91863a83414d27a30a998185.tar.gz
frameworks_base-5fbea51a0872388f91863a83414d27a30a998185.tar.bz2
BatteryService: Prevent UUC scenarios at 0%
If the battery is at 0% and we're plugged to a power source, we were assuming the device is charging and leaving it fully active. This could lead to an unusable capacity scenario if the device was busy with high-power tasks (camcorder, GPS, games, depends on hardware) that caused the discharge rate to be higher than the charge rate, taking the battery all the way down to an undervoltage lockout. Triggering an UVLO was, in some cases, as easy as turning on GPS navigation while using a car charger... Change-Id: I0f805880309bf12142203badd1e33db6e37da9c1
Diffstat (limited to 'data')
0 files changed, 0 insertions, 0 deletions