Closed
Bug 979391
Opened 11 years ago
Closed 6 years ago
Add switchable USB in/out plugs to the ammeter
Categories
(Powertool Graveyard :: Hardware, defect, P3)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: jhylands, Assigned: jhylands)
Details
(Keywords: perf, Whiteboard: [c=power p=5 s= u=] )
In order to use the battery harness/ammeter with a phone, the phone cannot be plugged in via USB. However, most testing frameworks require the phone be connected at least some of the time while testing. Manually unplugging and replugging is not an option for large scale testing, but having a software switch can help.
Design and build a new version of the ammeter that includes 2 new USB connections, and have a programmatically controlled switch on the power line between the two USB connectors. One of the connectors should be a standard USB A connector, the other should be a Micro B connector.
Assignee | ||
Updated•11 years ago
|
Assignee | ||
Updated•11 years ago
|
Whiteboard: [c=power p= s= u=] → [c=power p=5 s= u=]
Assignee | ||
Comment 1•11 years ago
|
||
This is a lower priority item now that we have verified the Flame (Mozilla reference phone) has switchable USB charging, and we can access that via:
adb shell "echo 0 > /sys/class/power_supply/battery/charging_enabled"
adb shell "echo 1 > /sys/class/power_supply/battery/charging_enabled"
The first command turns off USB charging, and the second command turns it back on again.
We will still want to implement this bug eventually for profiling on other devices that don't support this feature (Tarako).
Priority: -- → P3
Comment 2•6 years ago
|
||
This project isn't maintained anymore.
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•