Changeset 207
- Timestamp:
- 04/25/2008 11:31:42 AM (9 months ago)
- Location:
- trunk
- Files:
-
- 2 modified
-
. (modified) (2 props)
-
plwm/mw_acpi.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property bzr:revision-id:v3-trunk0
-
old new 3 3 160 david.bronke@g33xnexus.com-20080421182909-b69ojuc5wfkeiiul 4 4 161 david.bronke@g33xnexus.com-20080423004618-cialja7vve0p32xb 5 162 david.bronke@g33xnexus.com-20080423005711-zxrgzogrymlz3j98
-
- Property bzr:revision-info
-
old new 1 timestamp: 2008-04-22 20: 46:18.157000065-04001 timestamp: 2008-04-22 20:57:11.611000061 -0400 2 2 committer: David Bronke <David.Bronke@g33xnexus.com> 3 3 properties:
-
- Property bzr:revision-id:v3-trunk0
-
trunk/plwm/mw_acpi.py
r201 r207 92 92 REMAIN = 'remaining capacity' 93 93 94 mW_re = re.compile(r'^(\d+) m W$')95 mWh_re = re.compile(r'^(\d+) m Wh$')94 mW_re = re.compile(r'^(\d+) m[AW]$') 95 mWh_re = re.compile(r'^(\d+) m[AW]h$') 96 96 97 97 def __init__(self, id, path): … … 406 406 # Interface functions below 407 407 def probe(self): 408 if os.path.is file('/proc/acpi/info'):408 if os.path.isdir('/proc/acpi'): 409 409 wmanager.debug('acpi', 'using Linux proc interface') 410 410
