jonpry: your app is reading Battery Voltage and reporting it as capacity. This fixes it.
Code:
diff --git a/app/src/com/prymfg/babs/HtcBattery.java b/app/src/com/prymfg/babs/HtcBattery.java
index 3a7830f..e6c4acb 100644
--- a/app/src/com/prymfg/babs/HtcBattery.java
+++ b/app/src/com/prymfg/babs/HtcBattery.java
@@ -73,7 +73,7 @@ public class HtcBattery {
if(real_device)
{
try {
- String str = readFileAsString("/sys/devices/platform/htc_battery/power_supply/
battery/batt_vol");
+ String str = readFileAsString("/sys/devices/platform/htc_battery/power_supply/
battery/capacity");
return str.substring(0,str.length()-1) + "%";
} catch (IOException e) {
return "busted";
(I've also fixed this in your kernel code so that it doesn't highjack the batt_vol reading with capacity any more, since it's already reporting capacity in the capacity node where it belonged...
http://lists.xdandroid.com/pipermail...ay/000272.html)