Abstract:
The disclosed embodiments provide a system that manages use of a battery in a portable electronic device. During operation, the system attempts to regulate a voltage on a battery terminal in the portable electronic device to a first voltage level. Upon identifying an inability to regulate the voltage on the battery terminal to the first voltage level during a first detection period, the system detects a presence of the battery in the portable electronic device.
Abstract:
The disclosed embodiments provide a system that manages use of a battery in a portable electronic device. During operation, the system attempts to regulate a voltage on a battery terminal in the portable electronic device to a first voltage level. Upon identifying an inability to regulate the voltage on the battery terminal to the first voltage level during a first detection period, the system detects a presence of the battery in the portable electronic device.