Skip to content
This repository has been archived by the owner on Aug 20, 2018. It is now read-only.

Commit

Permalink
Bug 816694 - Add support for temperature monitoring in mozdevice;r=jm…
Browse files Browse the repository at this point in the history
…aher
  • Loading branch information
wlach committed Mar 12, 2013
1 parent b57f3d4 commit ac6e95d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions mozdevice/mozdevice/devicemanager.py
Expand Up @@ -63,6 +63,7 @@ def getInfo(self, directive=None):
- `process` - list of running processes (same as ps)
- `disk` - total, free, available bytes on disk
- `power` - power status (charge, battery temp)
- `temperature` - device temperature
If `directive` is `None`, will return all available information
"""
Expand Down
3 changes: 2 additions & 1 deletion mozdevice/mozdevice/devicemanagerSUT.py
Expand Up @@ -787,7 +787,8 @@ def getInfo(self, directive=None):
collapseSpaces = re.compile(' +')

directives = ['os','id','uptime','uptimemillis','systime','screen',
'rotation','memory','process','disk','power','sutuserinfo']
'rotation','memory','process','disk','power','sutuserinfo',
'temperature']
if (directive in directives):
directives = [directive]

Expand Down

0 comments on commit ac6e95d

Please sign in to comment.