3 ms·
Surely there's a system call that tells whether or not the phone is charging?
by Enginerrrd 7y ago
Surely there's a system call that tells whether or not the phone is charging?
- pg_is_a_butt 7y agoCharging stops when the battery is full... pesky explosions.
- yyyk 7y agoThere must be, but my friend chose an almost out of the box solution using an app from the Play Store, and the app only supported alerts per charge level.
- saagarjha 7y agoThere is: https://developer.android.com/training/monitoring-device-state/battery-monitoring.html#MonitorChargeState https://developer.android.com/training/monitoring-device-sta...