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:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  iPod Mini 2G battery life is reeeeeally bad (only 25% of stock firmware!)
« previous next »
  • Print
Pages: 1 [2] 3

Author Topic: iPod Mini 2G battery life is reeeeeally bad (only 25% of stock firmware!)  (Read 1246 times)

Offline eicca

  • Member
  • *
  • Posts: 33
Re: iPod Mini 2G battery life is reeeeeally bad (only 25% of stock firmware!)
« Reply #15 on: March 11, 2021, 06:59:23 PM »
Alright, initial results don't look good. It's only been going for thirty minutes and 10% of the battery is already gone. That's still only about five hours at this rate.
Logged

Offline speachy

  • Administrator
  • Member
  • *
  • Posts: 289
Re: iPod Mini 2G battery life is reeeeeally bad (only 25% of stock firmware!)
« Reply #16 on: March 11, 2021, 09:03:34 PM »
What matters is the total runtime, not how long it takes to drop from two arbitrary points on the power curve -- The percentage mapping was tuned for new(ish) stock batteries, and as batteries age do does the discharge curve.  And of course there's no guarantee that a random ebay replacement battery has the same chemistry/capacity/durability as what Apple originally shipped.

As an example of this, last year before I reworked the xDuoo X3's battery curve, the last four hours (out of about twelve) had rockbox claiming there was only 5% battery remaining.
Logged

Offline eicca

  • Member
  • *
  • Posts: 33
Re: iPod Mini 2G battery life is reeeeeally bad (only 25% of stock firmware!)
« Reply #17 on: March 11, 2021, 11:59:00 PM »
Well I started the test at 4:25pm and it made it to 9:58pm before shutting off. 5 hours 33 minutes. This was looping the same album that resulted in 20 hours on the Apple firmware with a brand new (eBay) battery.

When I go to "show disk" in the Debug menu, there's a bunch of power management and such items that say "not supported." I imagine that has something to do with it, but I'm still confused why there's such a huge discrepancy.
Logged

Offline roastpotatoes

  • Member
  • *
  • Posts: 18
Re: iPod Mini 2G battery life is reeeeeally bad (only 25% of stock firmware!)
« Reply #18 on: March 12, 2021, 05:00:18 AM »
Unfortunately having some problems with the new build.

I am using an iflash adapter. Just set it up to run a battery bench but came back to an error after a minute or so.
Also seems to have an issue handling when it's unplugged from a computer. This also resulted in a crash.
When plugging into Windows it detected an error with the storage which it scanned and then said there was no error.

* IMG_20210312_094858_1.jpg (79.65 kB, 887x700 - viewed 29 times.)

* IMG_20210312_093456_1.jpg (90.6 kB, 875x700 - viewed 29 times.)

* IMG_20210312_095520_1.jpg (57.93 kB, 873x700 - viewed 31 times.)
Logged

Offline speachy

  • Administrator
  • Member
  • *
  • Posts: 289
Re: iPod Mini 2G battery life is reeeeeally bad (only 25% of stock firmware!)
« Reply #19 on: March 12, 2021, 06:17:51 AM »
The write error is unrelated to this is essentially a "write timeout".  It's most likely completely unrelated to this powermgmt change, because we don't actually shut anything down until the disk subsystem has been idle for several seconds.

The failure to mount after unplugging is almost always due to some filesystem error, typically caused by unsafe disconnects.  Windows detected something wonky, so there was clearly something wrong.

Can't comment on that first data abort panic, except perhaps that all three are due to the same underlying disk corruption.  It's easy enough to back out the change re-enabling shutting off power to the "disk" but to be honest I don't think what you saw is due to this.

(The best way to make sure here -- grab the 2021-03-11 and 2021-03-12 daily builds, and see if they behave any differently.  Please unzip the builds via apple disk mode and do a disk check too just to be safe, afterwards have at it and see what happens.  if 3-12 crashes as you describe but 3-11 does not, then we'll have pretty good confidence what's causing this...)

The same goes for the decrease in battery life; I don't doubt that it's real, but if there is no improvement with 3-12 (versus 3-11) then it's looking increasingly unlikely that it has anything to do with the "iflash fixes" being discussed here.  If you're willing to be a guniea pig I can generate a one-off build that reverts to the known-corrupting pre-fix state (ie issue SLEEP commands), to confirm this theory.
Logged

Offline nevoness

  • Member
  • *
  • Posts: 1
Re: iPod Mini 2G battery life is reeeeeally bad (only 25% of stock firmware!)
« Reply #20 on: March 12, 2021, 08:03:38 AM »
Quote from: eicca on March 11, 2021, 11:59:00 PM
Well I started the test at 4:25pm and it made it to 9:58pm before shutting off. 5 hours 33 minutes. This was looping the same album that resulted in 20 hours on the Apple firmware with a brand new (eBay) battery.

When I go to "show disk" in the Debug menu, there's a bunch of power management and such items that say "not supported." I imagine that has something to do with it, but I'm still confused why there's such a huge discrepancy.

I have the same issue actually. Using a 64GB MicroSD in a CF-SD adapter. Also says "not supported" for power_mgmt, noise_mgmt and read_ahead.
Current running time is at 5h:44m, tho it has been at 0% for a couple mins now.
I listened to tracks on shuffle, about a 50/50 mix of flac and 320kbit mp3

Logged

Offline eicca

  • Member
  • *
  • Posts: 33
Re: iPod Mini 2G battery life is reeeeeally bad (only 25% of stock firmware!)
« Reply #21 on: March 12, 2021, 08:21:28 AM »
Quote from: speachy on March 12, 2021, 06:17:51 AM

The same goes for the decrease in battery life; I don't doubt that it's real, but if there is no improvement with 3-12 (versus 3-11) then it's looking increasingly unlikely that it has anything to do with the "iflash fixes" being discussed here.  If you're willing to be a guniea pig I can generate a one-off build that reverts to the known-corrupting pre-fix state (ie issue SLEEP commands), to confirm this theory.

What are the circumstances that cause the data corruption? Is it only when copying files from a computer or does it happen when just using the device? I only ever copy data when in Apple firmware because my Mac won’t read it otherwise, and so far the only data corruption I’ve had was with certain old cards I was trying to run tests with. My primary SD card has worked flawless. Other than the horrific battery life.
Logged

Offline roastpotatoes

  • Member
  • *
  • Posts: 18
Re: iPod Mini 2G battery life is reeeeeally bad (only 25% of stock firmware!)
« Reply #22 on: March 12, 2021, 09:05:39 AM »
Quote from: speachy on March 12, 2021, 06:17:51 AM
The write error is unrelated to this is essentially a "write timeout".  It's most likely completely unrelated to this powermgmt change, because we don't actually shut anything down until the disk subsystem has been idle for several seconds.

The failure to mount after unplugging is almost always due to some filesystem error, typically caused by unsafe disconnects.  Windows detected something wonky, so there was clearly something wrong.

Can't comment on that first data abort panic, except perhaps that all three are due to the same underlying disk corruption.  It's easy enough to back out the change re-enabling shutting off power to the "disk" but to be honest I don't think what you saw is due to this.

(The best way to make sure here -- grab the 2021-03-11 and 2021-03-12 daily builds, and see if they behave any differently.  Please unzip the builds via apple disk mode and do a disk check too just to be safe, afterwards have at it and see what happens.  if 3-12 crashes as you describe but 3-11 does not, then we'll have pretty good confidence what's causing this...)

The same goes for the decrease in battery life; I don't doubt that it's real, but if there is no improvement with 3-12 (versus 3-11) then it's looking increasingly unlikely that it has anything to do with the "iflash fixes" being discussed here.  If you're willing to be a guniea pig I can generate a one-off build that reverts to the known-corrupting pre-fix state (ie issue SLEEP commands), to confirm this theory.

Ok confirmed crashed happen on 2021-03-12 but not on 2021-03-11
Logged

Offline speachy

  • Administrator
  • Member
  • *
  • Posts: 289
Re: iPod Mini 2G battery life is reeeeeally bad (only 25% of stock firmware!)
« Reply #23 on: March 12, 2021, 10:19:54 AM »
Quote from: roastpotatoes on March 12, 2021, 09:05:39 AM
Ok confirmed crashed happen on 2021-03-12 but not on 2021-03-11

Thank you for confirming this.  The only meaningful change between those two is that 03-12 allows turning off the power supply to the drive, which happens 2 seconds after the last I/O operation is reported as complete by the drive.

Clearly the iFlash adapter is lying, and it's still writing stuff in the background even two seconds later.  So, as another attempt to mitigate this, I've increased the poweroff delay to a full five seconds.  Please test the most recent dev build (2743bde0 or newer include it) and see if it still crashes/corrupts things on you?
Logged

Offline eicca

  • Member
  • *
  • Posts: 33
Re: iPod Mini 2G battery life is reeeeeally bad (only 25% of stock firmware!)
« Reply #24 on: March 12, 2021, 10:34:09 AM »
Testing 2743bde0 for battery life now.

Mine still has never crashed (other than the aforementioned old wonky memory chips)... is there something that is known to trigger a crash or corruption that I should try?
Logged

Offline roastpotatoes

  • Member
  • *
  • Posts: 18
Re: iPod Mini 2G battery life is reeeeeally bad (only 25% of stock firmware!)
« Reply #25 on: March 12, 2021, 11:42:56 AM »
Quote from: speachy on March 12, 2021, 10:19:54 AM
Quote from: roastpotatoes on March 12, 2021, 09:05:39 AM
Ok confirmed crashed happen on 2021-03-12 but not on 2021-03-11

Thank you for confirming this.  The only meaningful change between those two is that 03-12 allows turning off the power supply to the drive, which happens 2 seconds after the last I/O operation is reported as complete by the drive.

Clearly the iFlash adapter is lying, and it's still writing stuff in the background even two seconds later.  So, as another attempt to mitigate this, I've increased the poweroff delay to a full five seconds.  Please test the most recent dev build (2743bde0 or newer include it) and see if it still crashes/corrupts things on you?

Ok I've tested the dev build.

Internal storage can't be accessed when in rockbox mode. It freezes for 30 seconds or so before displaying the cable diagram but it never mounts on windows once you unplug it crashes with the mount error.

I'm still getting the crash which seems to happen exactly on the 5th minute after pressing play.

Also when trying to access the battery_bench app it gets stuck on loading then it either crashes or displays can't access the file.

* IMG_20210312_161321_12.jpg (104.46 kB, 880x700 - viewed 27 times.)

* IMG_20210312_132222_12.jpg (129.56 kB, 886x700 - viewed 41 times.)

* IMG_20210312_161407_1.jpg (146.12 kB, 1232x966 - viewed 27 times.)

* IMG_20210312_162424_1.jpg (115.75 kB, 903x700 - viewed 26 times.)
Logged

Offline eicca

  • Member
  • *
  • Posts: 33
Re: iPod Mini 2G battery life is reeeeeally bad (only 25% of stock firmware!)
« Reply #26 on: March 12, 2021, 11:46:06 AM »
Roast, what brand SD card are you using? I had similar errors but only with an older DaneElec card. My Lexar Professional isn't giving me any errors on 2743bde0.

But it also doesn't look like there's any improvement either. Still draining at the same rate.
Logged

Offline roastpotatoes

  • Member
  • *
  • Posts: 18
Re: iPod Mini 2G battery life is reeeeeally bad (only 25% of stock firmware!)
« Reply #27 on: March 12, 2021, 12:16:58 PM »
Quote from: eicca on March 12, 2021, 11:46:06 AM
Roast, what brand SD card are you using? I had similar errors but only with an older DaneElec card. My Lexar Professional isn't giving me any errors on 2743bde0.

But it also doesn't look like there's any improvement either. Still draining at the same rate.

☠️😓 Geez I just broke my click wheel connector.
But I am using a SanDisk ultra 128gb, or I was...

So I'm out of the game until I get a replacement.
Logged

Offline eicca

  • Member
  • *
  • Posts: 33
Re: iPod Mini 2G battery life is reeeeeally bad (only 25% of stock firmware!)
« Reply #28 on: March 12, 2021, 03:45:36 PM »
Well runtime with 2743bde0 is identical to everything else I've tried. 5 hours 30 minutes of playback.
Logged

Offline eicca

  • Member
  • *
  • Posts: 33
Re: iPod Mini 2G battery life is reeeeeally bad (only 25% of stock firmware!)
« Reply #29 on: September 11, 2021, 09:17:37 PM »
Any update on this? Would really like to be able to use my iPod Mini for more than two hours before having to charge it...
Logged

  • Print
Pages: 1 [2] 3
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Hardware
| | |-+  iPod Mini 2G battery life is reeeeeally bad (only 25% of stock firmware!)
 

  • SMF 2.0.18 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.087 seconds with 23 queries.