Loose 🔌Charging alarm

by Ricardo “Rudxain” Fernández Serrata

Version 2 (September 26, 2023)

Download (60 downloads)

Sounds an alarm when device is charging, but battery is still draining. It also detects if the charger is connecting/disconnecting very frequently ("flickering charger").

Useful if you have a damaged or dirty charger head, cable, port (hole), wireless coil, and/or an app is power-hungry.

The value at the dictionary key "current_now" (from `BATTERY_CHANGED` broadcast) isn't available on some devices, so I ignored it for portability. Also, that broadcast isn't reliable if the charger is "flickering".

"Why is `old` the entire range?"
Please read this: https://groups.google.com/g/automate-user/c/yoVs-ZLVMLo

Rudxain profile: llamalab.com/automate/community/flows/42921

LICENSE: https://unlicense.org

4.0 average rating from 2 reviews

5 stars
0
4 stars
2
3 stars
0
2 stars
0
1 star
0
Reports
0

Rate and review within the app in the Community section.