Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/model/devices/battery.py
diff options
context:
space:
mode:
Diffstat (limited to 'shell/model/devices/battery.py')
-rw-r--r--shell/model/devices/battery.py10
1 files changed, 6 insertions, 4 deletions
diff --git a/shell/model/devices/battery.py b/shell/model/devices/battery.py
index b74d6dc..cdb4994 100644
--- a/shell/model/devices/battery.py
+++ b/shell/model/devices/battery.py
@@ -25,10 +25,12 @@ _DISCHARGING_PROP = 'battery.rechargeable.is_discharging'
class Device(device.Device):
__gproperties__ = {
- 'level' : (int, None, None, 0, 100, 0,
- gobject.PARAM_READABLE),
- 'charging' : (bool, None, None, False, gobject.PARAM_READABLE),
- 'discharging' : (bool, None, None, False, gobject.PARAM_READABLE)
+ 'level' : (int, None, None, 0, 100, 0,
+ gobject.PARAM_READABLE),
+ 'charging' : (bool, None, None, False,
+ gobject.PARAM_READABLE),
+ 'discharging' : (bool, None, None, False,
+ gobject.PARAM_READABLE)
}
def __init__(self, udi):