FS#5639 - Improved battery life on X5 (switching off USBOTG)

Attached to Project: Rockbox
Opened by Ulrich Pegelow (upegelow) - Sunday, 09 July 2006, 15:55 GMT
Task Type Patches
Category Battery/Charging
Status Closed
Assigned To No-one
Operating System iAudio X5
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No



this is a patch that switches off the M5636 USBOTG device on iAudio X5.
Battery drain is reduced by ca. 50mA. On a X5L this makes a runtime of typically
24 hours instead of the current 15 hours.

The patch is based on reverse engineering of the OF. Unwanted side effects can not
be excluded. USE AT YOUR OWN RISK.

This task depends upon

Closed by  Linus Nielsen Feltzing (linusnielsen)
Thursday, 13 July 2006, 07:41 GMT
Reason for closing:  Accepted
Comment by Linus Nielsen Feltzing (linusnielsen) - Tuesday, 11 July 2006, 09:01 GMT
Good work!

I took the liberty of adjusting your patch to the target tree concept. Please review and test, and then I will commit it.
Comment by Ulrich Pegelow (upegelow) - Tuesday, 11 July 2006, 18:53 GMT
Looks reasonable at a first glance. Nevertheless I'd like to check it. Will take a few days due to other obligations.
Comment by Ulrich Pegelow (upegelow) - Thursday, 13 July 2006, 06:26 GMT
I checked it: patches fine, compiles fine and runs fine. Most important: the energy saving is as expected.

Revised version hereby approved!