From 9b40bfb61e6c528b29268c09c2f936f8184d060e Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 9 Mar 2017 13:03:37 +0100 Subject: powersupply: m doc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/plugins/powersupply.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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'): -- cgit v1.2.3-70-g09d2