diff options
author | Mattias Andrée <maandree@kth.se> | 2017-03-09 13:03:37 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2017-03-09 13:03:37 +0100 |
commit | 9b40bfb61e6c528b29268c09c2f936f8184d060e (patch) | |
tree | f16c61ac6bb4e561307d2154c307eddd636954e3 /src/plugins | |
parent | whitespace (diff) | |
download | xpybar-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/plugins')
-rw-r--r-- | src/plugins/powersupply.py | 4 |
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'): |