[Q] Override Battery Value

Hello all!

For those of you that are familiar with Motorola devices, you'll know that they display 10% increments for the battery. They do, however, have a file on the phone that contains a one percent increment. Even better, whenever the battery drops by 1%, they phone triggers a battery event. Some battery monitors have an option to support a 1% hack so that they can display the exact percentage.

It occurred to me, however, that it might be possible to use a service with @override so that whenever a battery event is triggered, the service will pull the value from the file and override Motorola's battery percent with the one from the file, resulting in a simple way to allow ALL battery monitors to show 1% increments, possibly even on non-rooted phones.

I am not familiar with creating Android services, does anyone know if it is even possible to @override the system's battery charge reporting with another value?

Thank you,
OmniUni

Show Accepted Answer

Guest Quick Reply (No URL, BBcode or HTML)

Last post by norris94
4 hours ago
Last post by grady.lucio
44 minutes ago
Last post by ericka92
1 hour ago
Last post by aiyana.satterfield
4 hours ago
Last post by wkirlin
4 hours ago
Last post by renner.sabina
5 hours ago
Last post by taryn31
2 hours ago
Last post by stephon.rolfson
1 hour ago