Public Member Functions | Private Member Functions | Private Attributes | List of all members
laptop_battery.LaptopBatteryMonitor Class Reference
Inheritance diagram for laptop_battery.LaptopBatteryMonitor:
Inheritance graph
[legend]

Public Member Functions

def __init__ (self)
 
def update (self)
 

Private Member Functions

def _check_batt_info (self)
 
def _check_batt_state (self)
 

Private Attributes

 _batt_acpi_path
 
 _batt_design_capacity
 
 _batt_info_rate
 
 _batt_info_thread
 
 _batt_last_full_capacity
 
 _batt_state_rate
 
 _batt_state_thread
 
 _diag_pub
 
 _last_info_update
 
 _last_state_update
 
 _msg
 
 _mutex
 
 _power_pub
 

Detailed Description

Definition at line 229 of file laptop_battery.py.

Constructor & Destructor Documentation

def laptop_battery.LaptopBatteryMonitor.__init__ (   self)

Definition at line 230 of file laptop_battery.py.

Member Function Documentation

def laptop_battery.LaptopBatteryMonitor._check_batt_info (   self)
private

Definition at line 257 of file laptop_battery.py.

def laptop_battery.LaptopBatteryMonitor._check_batt_state (   self)
private

Definition at line 271 of file laptop_battery.py.

def laptop_battery.LaptopBatteryMonitor.update (   self)

Definition at line 285 of file laptop_battery.py.

Member Data Documentation

laptop_battery.LaptopBatteryMonitor._batt_acpi_path
private

Definition at line 241 of file laptop_battery.py.

laptop_battery.LaptopBatteryMonitor._batt_design_capacity
private

Definition at line 242 of file laptop_battery.py.

laptop_battery.LaptopBatteryMonitor._batt_info_rate
private

Definition at line 246 of file laptop_battery.py.

laptop_battery.LaptopBatteryMonitor._batt_info_thread
private

Definition at line 247 of file laptop_battery.py.

laptop_battery.LaptopBatteryMonitor._batt_last_full_capacity
private

Definition at line 243 of file laptop_battery.py.

laptop_battery.LaptopBatteryMonitor._batt_state_rate
private

Definition at line 252 of file laptop_battery.py.

laptop_battery.LaptopBatteryMonitor._batt_state_thread
private

Definition at line 253 of file laptop_battery.py.

laptop_battery.LaptopBatteryMonitor._diag_pub
private

Definition at line 238 of file laptop_battery.py.

laptop_battery.LaptopBatteryMonitor._last_info_update
private

Definition at line 233 of file laptop_battery.py.

laptop_battery.LaptopBatteryMonitor._last_state_update
private

Definition at line 234 of file laptop_battery.py.

laptop_battery.LaptopBatteryMonitor._msg
private

Definition at line 235 of file laptop_battery.py.

laptop_battery.LaptopBatteryMonitor._mutex
private

Definition at line 231 of file laptop_battery.py.

laptop_battery.LaptopBatteryMonitor._power_pub
private

Definition at line 237 of file laptop_battery.py.


The documentation for this class was generated from the following file:


laptop_battery_monitor
Author(s): Daniel Stonier
autogenerated on Sun Nov 17 2019 03:20:09