I am learning about broadcast receiver, and following the official docs
What is the difference between
BatteryManager.BATTERY_STATUS_CHARGING
and
BatteryManager.BATTERY_PLUGGED_AC
I use telnet localhost 5554
and type power ac off
then power ac on
.
I expected BATTERY_STATUS_CHARGING
to be fired automatically, but it didn't. Why?
Why AC is plugged in does not imply charging?