Reality Mining: No one is home with the battery down to 10% and discharging
Since you can get the state of the mobile’s phone battery you can tell if the user has a charger nearby and is plugged in. Sure it could be a recharger pack… but it’s pretty close to truth.
If your device can handle the Battery API, you see below the collected information.
(charging state unknown)
(battery level unknown)
(charging time unknown)
(discharging time unknown)