This disclosure describes techniques for self-testing of battery health of electronic devices. Per techniques of this disclosure, a battery cell health state is determined by performing a self-test that emulates high power-draw and/or critical usage scenarios. The self-test is conducted at a likely inactive time for the device use based on user-permitted contextual factors. During the test, device charging is disabled so that the battery cell is isolated from its power source. The battery voltage is lowered to a predetermined voltage that is representative of a low state of charge by utilizing a power virus. Battery health parameters such as power consumption, state of charge, current being drawn from battery, battery voltage during the test, etc., are recorded. Based on the battery health parameters measured during the self-test, usage parameters are adjusted to mitigate brownout risk.

Creative Commons License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 License.