Hi, do the mobile phones have an API function or something like that which could be called by a phone application to figure out whether the phone is currently charging or is on battery?
I guess that if there is such a function at all, it would have a different name on each mobile OS, so if anybody could name those function names and the OS, that would be great.
many thx