Rockbox Technical Forums

Rockbox General => Rockbox General Discussion => Topic started by: rheinman on March 30, 2007, 03:47:43 AM

Title: ipod battery life time
Post by: rheinman on March 30, 2007, 03:47:43 AM
I would like rockbox. It works almost well on my 5.5G but I don't use it. I have I a HD-Player for easy using not to change disks or tapes and not to decide what to hear every mornig.  But short battery-lifetime leads into trouble, if I went home from a busy day and the energy is empty. No thanks.

Isn't there a developer who thinks like me. I dont't need COP or any other stuff which is currently not running in the actual development state,  at least not as much than longer playtime.

For me rockbox currently has the featurs running I need. The next step should be to enhance playtime. 4-5 houres of may playtime is not acceptable for me, for a device like an Ipod.

Actually I use the orignal firmway, because of the significant long playtime which more than double of the rockbox playtime.
Title: Re: ipod battery life time
Post by: GodEater on March 30, 2007, 04:03:22 AM
Unless you have some documentation or knowledge or the PortalPlayer design that will help us improve battery life on the iPod - then just asking for someone to "improve it" isn't going to change anything. The battery life on all our PortalPlayer targets is bad because we don't know HOW to improve - not because we don't WANT to.
Title: Re: ipod battery life time
Post by: Llorean on March 30, 2007, 04:04:53 AM
Tell us how. If you know exactly which hardware is draining power when it shouldn't be, we would love to know.

I find it very offensive that you seem to think we don't care about the poor battery life. The COP patch was hoped to help battery life by reducing the time the processor had to run at full speed, as well as improving performance. Codecs are optimized often to improve battery life.

But there's something MAJOR and it's not a case of simply wanting to solve it.

Please, use some common sense. Why would we not want comparable battery life when it is the most common complaint about Rockbox, and we frequently explain on these boards why it's something very difficult to fix?
Title: Re: ipod battery life time
Post by: Toni on March 30, 2007, 04:41:33 AM
I did some current measurements for the Sansa.

Deactivating:
 - the lcd-device (when backlight off)
 - the ata-controller (if no read/write in progress)
Simply setting/resetting the correspondent bits in the DEV_EN register did the job.

I could reduce the current from 55mA to 41mA during mp3 playback.
The cpu frequency affects by ~1mA/4MHz.
Sleeping both cop and cpu seems to have no effect.
I don't know, wether these values can be simply applied to the ipods.
Title: Re: ipod battery life time
Post by: rheinman on April 02, 2007, 08:59:52 AM
Hi everyone,

it's not my intend to crumble, sorry. English isn't my native language. I just wondered, that rockbox seems to be installed on so many ipods. And if you tell me, that it is almost impossible to fix the issue about battery-lifetime, than imho it is not right to say rockbox  it is running on ipods probably, which I assumed. I would say it's an rockbox-demo for ipods.

Sorry for still crumling but dear Llorean I'm not blessed with a langluage spoken all over the world ;)

So long
Title: Re: ipod battery life time
Post by: Llorean on April 02, 2007, 09:02:55 AM
Rockbox on iPod is not "released" which is why it's not available in the releases.

It is supported, as in "we provide technical support" but that's it. As I've told people many times on here, you should consider yourself "testers" more than "users" at this point in the software's lifetime.
Title: Re: ipod battery life time
Post by: Nate! on April 02, 2007, 10:59:59 AM
Just to bring light to are dark subject ... everyone should just buy Gigabeats.  (F series that is, seems the X series has other issues.)  ;D
Title: Re: ipod battery life time
Post by: DanManners on April 02, 2007, 11:21:26 AM
Just wanna say that using http://forums.rockbox.org/index.php?topic=8740.0 EvilG's Build (which is unsupported) On my ipod that has never gotten more than LITERALLY maybe 3 hours on anything, normal firmware or ROCKbox, is now getting OVER 12 HOURS of continuous music playback!! I had it running from almost 11am yesterday until 1:30am this morning. It's pretty kicka$$. I'd look into it, and it has a lot more features than the normal builds, and it's extremely stable.

-Dan
Title: Re: ipod battery life time
Post by: markun on April 02, 2007, 12:16:10 PM
Just wanna say that using http://forums.rockbox.org/index.php?topic=8740.0 EvilG's Build (which is unsupported) On my ipod that has never gotten more than LITERALLY maybe 3 hours on anything, normal firmware or ROCKbox, is now getting OVER 12 HOURS of continuous music playback!! I had it running from almost 11am yesterday until 1:30am this morning. It's pretty kicka$$. I'd look into it, and it has a lot more features than the normal builds, and it's extremely stable.

Maybe you can find out which patch improves the runtime so much so that this can be fixed in svn?
Title: Re: ipod battery life time
Post by: saratoga on April 02, 2007, 12:41:39 PM
I did some current measurements for the Sansa.

Deactivating:
 - the lcd-device (when backlight off)
 - the ata-controller (if no read/write in progress)
Simply setting/resetting the correspondent bits in the DEV_EN register did the job.

I could reduce the current from 55mA to 41mA during mp3 playback.
The cpu frequency affects by ~1mA/4MHz.
Sleeping both cop and cpu seems to have no effect.
I don't know, wether these values can be simply applied to the ipods.


Are your changes suitable for inclusion into SVN?  Because it sounds like thats a pretty big step forward.  Much farther then any of the PP targets have come since the ports began, at least with respect to battery life.
Title: Re: ipod battery life time
Post by: Toxikator on April 02, 2007, 03:03:36 PM
Dan, IIRC (and that's not to say that I do), just letting rockbox play isn't going to consume comparatively much power... the backlight will shut down, and more importantly, there isn't much HD reading.

I could be way off the mark, but I seem to recall that rockbox power is consumed most heavily when building and changing playlists... while twelve hours is a very impressive number, I'm wondering what sort of life you get changing tracks and shuffling between albums and tracks?

Also I'm off to check what patches distinguish EvilG from Senab since I can't get 12 hours with it...  ;D
Title: Re: ipod battery life time
Post by: DanManners on April 02, 2007, 04:58:34 PM
Dan, IIRC (and that's not to say that I do), just letting rockbox play isn't going to consume comparatively much power... the backlight will shut down, and more importantly, there isn't much HD reading.

I could be way off the mark, but I seem to recall that rockbox power is consumed most heavily when building and changing playlists... while twelve hours is a very impressive number, I'm wondering what sort of life you get changing tracks and shuffling between albums and tracks?

Also I'm off to check what patches distinguish EvilG from Senab since I can't get 12 hours with it...  ;D

Oh, trust me...I pretty much USED the iPod the entire time. Like, I'm compulsive about NOT FINISHING SONGS, so I change songs like every 3 to 4 minutes. I'm a loser like that. But I'm using the first Fire build, i have a 30g iPod 5th Gen (Not 5.5), and I'm using the Windows Media Player 11 looking themes with album art.

-Dan
Title: Re: ipod battery life time
Post by: Toxikator on April 03, 2007, 02:32:25 PM
that's wild, man. I couldn't find any EvilG patches that would necessarily do that... sans of course the extra RAM, but that's for the 60GB only.  ???

Lucky you, jerk :P
Title: Re: ipod battery life time
Post by: lights0ut on April 03, 2007, 02:53:09 PM
that's wild, man. I couldn't find any EvilG patches that would necessarily do that... sans of course the extra RAM, but that's for the 60GB only.  ???

Lucky you, jerk

Agreed, I don't code myself, so I wouldn't be able to increase battery life on the ipod. Not that I don't like the appreciation Dan, but I can't take credit for your increased battery life  ;).  I just apply the patches I want to the source, and because it doesn't take too much extra effort, I post my build. The fact that your battery seems to work nicer is complete coincidence.
Still glad youre enjoying my build though ;)
Title: Re: ipod battery life time
Post by: soap on April 03, 2007, 04:54:19 PM
Being highly skeptical of 12 hours of life on your 30GB iPod, and highly skeptical that any of the patches used by EvilG could cause such a dramatic change, I'll eagerly await battery benches.
Title: Re: ipod battery life time
Post by: DanManners on April 03, 2007, 05:14:29 PM
Being highly skeptical of 12 hours of life on your 30GB iPod, and highly skeptical that any of the patches used by EvilG could cause such a dramatic change, I'll eagerly await battery benches.


The benchs are still running...onto the normal build atm...I think it might just have to do with a good battery, rather than patches...ti's been running straight since 11:30 this morning, and the battery still looks rather full...I'm gonna feel like a S**t if I grabbed everyones attention over nothing  :-[
Title: Re: ipod battery life time
Post by: Yotto on April 03, 2007, 08:14:44 PM
You won't feel worse than I do.  My battery never got more than 7 hours of life of Rockbox! :)