summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-12-17 09:26:32 -0600
committerDenis Kenzior <denkenz@gmail.com>2012-12-17 09:50:22 -0600
commit11875b7f796abb8b0825cfccd243ffbb2cceb633 (patch)
tree3bd72e8ac880de9c115660eefa2524e9f7751fd5 /test
parentfb1d1c3426fea2cdae79a1825d7842d9a115616f (diff)
downloadofono-11875b7f796abb8b0825cfccd243ffbb2cceb633.tar.bz2
test: Tweak list-modems to display battchg
Diffstat (limited to 'test')
-rwxr-xr-xtest/list-modems3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/list-modems b/test/list-modems
index 5726bc80..d859dbf5 100755
--- a/test/list-modems
+++ b/test/list-modems
@@ -54,7 +54,8 @@ for path, properties in modems:
"MicrophoneVolume",
"SpeakerVolume",
"Strength",
- "DataStrength"]:
+ "DataStrength",
+ "BatteryChargeLevel"]:
val = int(properties[key])
elif key in ["MainMenu"]:
val = ", ".join([ text + " (" + str(int(icon)) +