motorola moto power pack detection

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
lojzik
Posts: 9
Joined: 10 Sep 2018 08:03

motorola moto power pack detection

Post by lojzik » 21 Nov 2018 07:24

I have have motorola moto with power pack motomod (case with second battery). This external battery is detected as AC power source. Could be possible to detect this external battery as battery?

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: motorola moto power pack detection

Post by Desmanto » 21 Nov 2018 15:54

Unless the external battery provide some broadcast intent you can use, then it is not possible to do it. If you have root/adb, you can try to dumpsys the battery when you plug the motomod and see if there is anything you can use as the event trigger.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

lojzik
Posts: 9
Joined: 10 Sep 2018 08:03

Re: motorola moto power pack detection

Post by lojzik » 21 Nov 2018 21:32

Thanks for inspiration. I found some MDK from Motorola with example.

Locked