aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2017-03-09 13:03:37 +0100
committerMattias Andrée <maandree@kth.se>2017-03-09 13:03:37 +0100
commit9b40bfb61e6c528b29268c09c2f936f8184d060e (patch)
treef16c61ac6bb4e561307d2154c307eddd636954e3 /src
parentwhitespace (diff)
downloadxpybar-9b40bfb61e6c528b29268c09c2f936f8184d060e.tar.gz
xpybar-9b40bfb61e6c528b29268c09c2f936f8184d060e.tar.bz2
xpybar-9b40bfb61e6c528b29268c09c2f936f8184d060e.tar.xz
powersupply: m doc
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/powersupply.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/powersupply.py b/src/plugins/powersupply.py
index 525e906..014d851 100644
--- a/src/plugins/powersupply.py
+++ b/src/plugins/powersupply.py
@@ -129,6 +129,8 @@ class PowerSupply:
def get_capacity_level():
'''
TODO some information about what this is would be nice
+ Normal
+ Full
'''
if os.path.exists(self.path + '/capacity_level'):
with open(self.path + '/capacity_level', 'rb') as file:
@@ -218,7 +220,7 @@ class PowerSupply:
Get the current status
@return :str? The current status, known values are
- 'Charging', 'Discharging' and 'Unknown',
+ 'Full', 'Charging', 'Discharging' and 'Unknown',
`None` if unknown or if unapplicable
'''
if os.path.exists(self.path + '/status'):