I want to know the difference between two flags
BatteryManager.BATTERY_STATUS_DISCHARGING
and
BatteryManager.BATTERY_STATUS_NOT_CHARGING
I developed an application that uses these two flags, and I expected to see "discharge" when I disconnected the phone from the charger, but instead it just says "does not charge."
What is the difference between the two?
Heshan perera
source share