Closed Bug 996675 Opened 12 years ago Closed 12 years ago

Ammeter Readings are off in Powertool

Categories

(Powertool Graveyard :: Software, defect, P1)

x86_64
Windows 7
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jhylands, Assigned: jhylands)

Details

(Keywords: perf, Whiteboard: [c=power p=1 s= u=])

There is a bug in the mozilla.py ammeter reading code, where it is calculating an incorrect mA value. Specifically, the ammeter sends back the current value as a 16-bit integer, scaled to be 1/10 mA's. The code is dividing the high byte by 10, but not the low byte, so the produced mA value is incorrect.
Assignee: nobody → jhylands
Status: NEW → ASSIGNED
Keywords: perf
Priority: -- → P1
Whiteboard: [c=power p=1 s= u=]
This is fixed now.
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.