Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  iPod Nano 50% less play time.
« previous next »
  • Print
Pages: [1] 2

Author Topic: iPod Nano 50% less play time.  (Read 9921 times)

Offline Colombo

  • Member
  • *
  • Posts: 32
iPod Nano 50% less play time.
« on: February 17, 2007, 02:07:18 PM »
Original Apple OS is 14 hours playing.
Rockbox is ~6-7. I think it bcuz mp3 player get more CPU time and so more battery power. Can developers make low battery use?

p.s. sorry, bad english.
Logged

Offline Llorean

  • Member
  • *
  • Posts: 12931
Re: iPod Nano 50% less play time.
« Reply #1 on: February 17, 2007, 02:19:52 PM »
'bcuz' is not a real word. Our forum guidelines require using real words. Please follow these rules in the future.

It's much more complicated than simply how much CPU time is being used. While it's being worked on, this is very well known, and is not likely to be an easy solution.
Logged

Offline Colombo

  • Member
  • *
  • Posts: 32
Re: iPod Nano 50% less play time.
« Reply #2 on: February 17, 2007, 02:49:22 PM »
and what is debugging -> CPU frequency modification? What is boost ratio? How it influences on battery use? I set 30mhz and music became 3 sec play and 1 no play :D
Logged

Offline Colombo

  • Member
  • *
  • Posts: 32
Re: iPod Nano 50% less play time.
« Reply #3 on: February 17, 2007, 03:31:25 PM »
rockbox is very good, many features etc, but simply playback time is 2x less than apple os. I must return back to apple os.
So when rockbox will be low CPU usage, notice it in main page :] thx
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: iPod Nano 50% less play time.
« Reply #4 on: February 17, 2007, 06:01:31 PM »
It is most likely not CPU usage causing the battery life alone, but likely a combination of this (solved through optimization), and perhaps some components not being turned off properly.  It is very hard to code for chips with no data sheets or public information available ...

(standard disclaimer: as I understand it)
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: iPod Nano 50% less play time.
« Reply #5 on: February 17, 2007, 07:15:41 PM »
We could test that theory if someone were to measure the power consumption with a DMM on the ipod at a few different clock speeds and no boost.  Then we could figure out if the high power use is from high CPU use or from devices which are constantly bleeding off power independent of what rockbox is doing.

Probably easier to just work on the CPU nuse issue first though, since that needs fixing regardless :)
Logged

Offline Colombo

  • Member
  • *
  • Posts: 32
Re: iPod Nano 50% less play time.
« Reply #6 on: February 18, 2007, 01:12:39 AM »
I think mp3 playing using many cpu without rest like windows.sleep(...); in the thread.
Logged

Offline Colombo

  • Member
  • *
  • Posts: 32
Re: iPod Nano 50% less play time.
« Reply #7 on: February 18, 2007, 11:22:34 AM »
I think developers first must make low battery usage like in original OS, before any other daily changes, because nobody want using firmware with 2x less playback time.
Logged

Offline linuxstb

  • Developer
  • Member
  • *
  • Posts: 1163
Re: iPod Nano 50% less play time.
« Reply #8 on: February 18, 2007, 11:35:29 AM »
Quote from: Colombo on February 18, 2007, 11:22:34 AM
I think developers first must make low battery usage like in original OS, before any other daily changes, because nobody want using firmware with 2x less playback time.

On most other devices Rockbox runs on, it consumes less power than the original firmware, and obviously we want the same thing on the ipods.

However, battery life is not every user's #1 priority, as shown by the number of people who are running it on their ipod.   If you only listen to music for 5 or 6 hours a day, and can easily charge your ipod overnight, then what's the problem?

Work _is_ being done to improve battery life on ipods, it's just a slow progress, and will be a combination of small incremental improvements and sudden breakthroughs.  No-one can predict when we'll reach the same playback life as Apple's firmware does though.

Also, don't forget that not all the developers who work on Rockbox even own ipods - Rockbox is far more than just a replacement ipod firmware.
Logged

Offline Febs

  • Member
  • *
  • Posts: 2701
Re: iPod Nano 50% less play time.
« Reply #9 on: February 18, 2007, 11:53:50 AM »
Quote from: Colombo on February 18, 2007, 11:22:34 AM
I think developers first must make low battery usage like in original OS, before any other daily changes, because nobody want using firmware with 2x less playback time.
You are wrong.
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way
Please do not send me support questions via PM.

Offline the_winch

  • Member
  • *
  • Posts: 53
    • website
Re: iPod Nano 50% less play time.
« Reply #10 on: February 18, 2007, 01:50:11 PM »
I did some tests using a 4.5v power supply.

Idle after booting
apple
~15.6 mA
~60.5 mA with Back Light

rockbox
~25.8 mA
~71.7 mA with BL
~34.7 mA cpu boosted no BL
during playback. My multi meter is a bit slow so these are estimates.
~29mA
~41mA boosted.

Doesn't look like reducing the amount of time the cpu is boosted will help that much.

EDIT
Tests done on a nano.
« Last Edit: February 18, 2007, 03:07:15 PM by the_winch »
Logged

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: iPod Nano 50% less play time.
« Reply #11 on: February 18, 2007, 02:18:28 PM »
the_winch:  Which iPod?  I assume it has frequency scaling enabled?

Assuming Apple uses the same idle frequency as Rockbox, that would certainly imply theres some hardware running in Rockbox that should be disabled.
Logged

Offline the_winch

  • Member
  • *
  • Posts: 53
    • website
Re: iPod Nano 50% less play time.
« Reply #12 on: February 18, 2007, 03:11:16 PM »
Quote from: saratoga on February 18, 2007, 02:18:28 PM
the_winch:  Which iPod?  I assume it has frequency scaling enabled?

Nano
Logged

Offline soap

  • Member
  • *
  • Posts: 1678
  • Creature of habit.
Re: iPod Nano 50% less play time.
« Reply #13 on: February 18, 2007, 03:51:40 PM »
These numbers are very interesting.
The only question I have is, did you account for battery charging in any way?
I think the most valid way of doing this would be to unplug the battery, and wire in the external power supply directly, not using the dock connector at all.

« Last Edit: February 18, 2007, 04:11:13 PM by soap »
Logged
Rockbox Forum Guidelines
The Rockbox Manual
How to Ask Questions the Smart Way

Offline saratoga

  • Developer
  • Member
  • *
  • Posts: 8974
Re: iPod Nano 50% less play time.
« Reply #14 on: February 18, 2007, 04:20:24 PM »
I think he did use a 4.5 V power supply, though maybe that was just to measure power use?

Still, this reinforces my suspicions that getting that Sansa emulator working so we can read off all the registers and I2C traffic the retail PP firmwares use is going to be absolutely critical to getting the PP ports working as well as retail.
Logged

  • Print
Pages: [1] 2
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  iPod Nano 50% less play time.
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.12 seconds with 15 queries.