Android : Difference between BATTERY_STATUS_DISCHARGING and BATTERY_STATUS_NOT_CHARGING

android

Solution

from : Battery is low. Charging current not enough...Is there intent before this message is shown?

Some devices (tablets?) consume more power than what can be provided via USB port.

Problem

I want to know the difference between the 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 "discharging" when I unplugged the phone from the charger, but instead it simply says "not charging". What is the difference between the two ?

Original source