Logo Search packages:      
Sourcecode: ibam version File versions  Download package

Public Member Functions | Protected Attributes

sysfs_status Class Reference

Inheritance diagram for sysfs_status:
Inheritance graph
Collaboration diagram for sysfs_status:
Collaboration graph

List of all members.

Public Member Functions

int charging (void) const
int onBattery (void) const
int percent (void) const
int seconds (void) const
float subpercent (void) const
 sysfs_status (string path="/sys/class/power_supply/")
void update (void)

Protected Attributes

int acLineStatus
int batteryStatus
int chargeStatus
string Path
int remainingBatteryLifeSeconds
int remainingBatteryPercent
float remainingBatterySubPercent

Detailed Description

Definition at line 83 of file ibam.hpp.

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

Generated by  Doxygen 1.6.0   Back to index