How does it work? I mean, is the % real? Or does it estimate it, like Battery Left?
Edit: okay, I'll answer myself, you're using /sys/class/power_supply/battery/charge_counter. I didn't know about its existence! Great work! I wonder if we could modify the original Motorola APK to read that instead of /sys/class/power_supply/battery/capacity, so we don't need any extra software, hmm...
Edit 2: I was curious and searched. There seem to be two places where "capacity" is used. They are in /xbin/ssmgrd and /bin/charge_only_mode, both binaries. Would it be possible to hex-edit the "capacity" string to "charge_counter"?
Edit 3: whoops, somebody already thought of this
. I'll take the discussion there so I don't hijack your thread