Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Change the iPod battery display style System
Technically, the following is an iPod hint, but since you can perform it from the Terminal, I consider it at least somewhat OS X related ...

If you'd rather have your (third generation only) iPod display an actual value for its battery state (instead of the disappearing battery bar graph), just open the Terminal (with the iPod docked and available as a hard drive) and type:
  touch /Volumes/your_iPod's_name/iPod_Control/Device/_show_voltage
Replace your_iPod's_name with the name of the iPod as shown in the Finder. Now eject, disconnect, and restart your iPod, and you should see a number in the top right corner of the screen -- on a full charge, mine was showing 474; I believe the maximum is 500.

I found this on iPodHacks while looking for something completely unrelated...
    •    
  • Currently 1.75 / 5
  You rated: 2 / 5 (4 votes cast)
 
[75,210 views]  

Change the iPod battery display style | 40 comments | Create New Account
Click here to return to the 'Change the iPod battery display style' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Change the iPod battery display style
Authored by: filmsmith on Feb 26, '04 12:12:08PM

Thanks. That's a nice hint and it worked for me without having to restart my iPod. My only question is... what happens if I want to go back to the Battery Icon? Care to post the code that'll restore it to default?



[ Reply to This | # ]
To undo...
Authored by: gidds on Feb 26, '04 12:40:16PM
touch simply creates an (empty) file, so the obvious antidote is to remove the file - change the touch to rm.

---

Andy/

[ Reply to This | # ]

To undo...
Authored by: frankxiv on Feb 26, '04 02:35:35PM

Actually to be clear, touch only creates an empty file if the file you are "touching" doesn't already exist. The real function of touch is to change the date and time of a file without changing the file's contents.

In fact, if used with the -c modifier touch won't even create a new file if one with that name doesn't already exist.

Later, Frank



[ Reply to This | # ]
To undo...
Authored by: filmsmith on Feb 26, '04 02:58:48PM

Thanks to you both! One of these days (I keep telling myself that) I'll become more proficient with Terminal and all of it's abilities.



[ Reply to This | # ]
Change the iPod battery display style
Authored by: zacht on Feb 26, '04 12:25:26PM

Cool!

1. It still shows the battery icon when it's docked. Only shows a number when it's actually running off the battery, I guess.

2. To go back to default, just delete (with "rm") the added file _show_voltage.

3. After I did this, my fully charged iPod showed 512. This could be wackiness due to having just pulled it off the dock, or because i didn't restart it. Perhaps the battery monitoring thing hadn't settled down yet. Or perhaps the actual max is 512 rather than 500. Hmmm.

zach



[ Reply to This | # ]
Change the iPod battery display style
Authored by: cptzep on Feb 26, '04 08:47:24PM

I Have 515 showing.

thanks for the hint

giusseppe



[ Reply to This | # ]
Change the iPod battery display style
Authored by: leebennett on Feb 26, '04 10:06:00PM

what is the appropriate syntax if your iPod name has a space in it?



[ Reply to This | # ]
Change the iPod battery display style
Authored by: skirtley on Feb 26, '04 11:22:35PM

Start to type in the Name (first Letter OK) and be sure to be case sensitive. Then hit the TAB key. It will fill it out! (assuming that there are no other files in that directory with a similar name.

To answer your question
To\ answer\ your\ question

Just put a \ backslash before the space.



[ Reply to This | # ]
Change the iPod battery display style
Authored by: frankxiv on Feb 26, '04 11:41:31PM

Or you can enclose the name in quotation marks "like this"

Later, Frank



[ Reply to This | # ]
Quotes or escape the spaces
Authored by: jecwobble on Feb 27, '04 12:04:44AM
Use quotes:
touch "/Volumes/My iPod/iPod_Control/Device/_show_voltage"
or use a backslash before each space to escape it:
touch /Volumes/My\ iPod/iPod_Control/Device/_show_voltage


[ Reply to This | # ]
Change the iPod battery display style
Authored by: majestic on Feb 27, '04 12:23:50AM

How do you open up the terminal? Sorry if this is a dumb question.



[ Reply to This | # ]
Change the iPod battery display style
Authored by: KRC on Feb 27, '04 12:33:27AM

I take it you're very new so I'll make it simple:

Go to your Mac HD, then go to Applications --> Utilities --> Terminal

Hope that helps.



[ Reply to This | # ]
Change the iPod battery display style
Authored by: Jay on Feb 27, '04 11:43:18PM

There are no dumb questions. Everyone has to open the terminal for the first time once!



[ Reply to This | # ]
Change the iPod battery display style
Authored by: Lunatic Prods on Feb 27, '04 06:21:39AM

Hmmm, why do hints on here always make me feel so thick?

Psst - it's a rhetorical question: I don't want to know the (obvious) answer! ;o)

I tried doing this in Terminal, but couldn't get the hint to work (even though the _show_voltage file was created, and iPod restarted) . . .

Then I found a little program that will do it for me . . .

http://www.bnv-gz.de/~hdusel/tools/iPodVolumeBooster/

. . . and it allows us Europeans to boost the volume on our iPods so we can hear what's going on!



[ Reply to This | # ]
Change the iPod battery display style
Authored by: rbrb on Feb 27, '04 10:21:37AM

Is this possible for PC-users?



[ Reply to This | # ]
Change the iPod battery display style
Authored by: cybergoober on Feb 27, '04 11:48:33AM
See this page for Mac/Windows instructions.

[ Reply to This | # ]
Change the iPod battery display style
Authored by: Benzeppelin on Mar 01, '04 08:03:57PM

It says to "Put the provided file into device"

where/what is the provided file?



[ Reply to This | # ]
Change the iPod battery display style
Authored by: Benzeppelin on Mar 06, '04 05:58:01PM

help??? anyone???



[ Reply to This | # ]
Found the file ben, and it works...link here
Authored by: pcipodperson on Apr 03, '04 01:02:54AM

go here
http://www.geocities.com/ipodhacks/shit/
yay! it works!



[ Reply to This | # ]
Change the iPod battery display style
Authored by: pcipodperson on Apr 03, '04 01:05:03AM

of course, to get rid of it, just delete that file.
the numbers do not show when charging.



[ Reply to This | # ]
Other iPod hacks?
Authored by: pheed on Feb 27, '04 11:48:57AM

Thanks for this very cool hint! Another web site states that the number represents the actual voltage like so: 475=4.75 volts. I used to read ipodhacks.com daily but I stopped when I realized the site was decidedly light on actual hacks. My first urge has always been to alter the startup Apple logo to display a custom picture. If anyone knows how to do something like this, don't be shy! Post it to macosxhints!

---

E-mail me: moc.cam@deehp



[ Reply to This | # ]
Change the iPod battery display style to minutes?
Authored by: xander on Feb 27, '04 04:48:20PM

Great tip, mine shows 497. Who else thinks the display is minutes. Considering the battery is rated at 8 hour that would be 480, each battery is going to be different depending on settings (backlight, clock etc) and it's condition I don't think it would be unreasonalbe to get 510-520 minutes out of a battery.



[ Reply to This | # ]
Change the iPod battery display style to minutes?
Authored by: 153957 on Feb 27, '04 06:05:42PM

then why is the thing called '_show_voltage'?
and not something in a sense of _show_minutes?

---
153957 - TheNumberMan - MacFreak



[ Reply to This | # ]
Change the iPod battery display style to minutes?
Authored by: xander on Feb 28, '04 10:20:05AM

In the same respect, why would it read 500 volts? If the display was a multiplier of voltage it would read between 8x and 30x vdc constantly until the battery fail to provide the vecessary voltage (ie, battery drained), the only thing that makes sense is that the display is showing voltamps in minutes hence the diminishing count. And considering the rating of the battery the numbers quoted here seem to verify that.



[ Reply to This | # ]
Change the iPod battery display style
Authored by: 153957 on Feb 27, '04 06:07:04PM

Minor question, does this work on the older (1G-2G) iPods??

---
153957 - TheNumberMan - MacFreak



[ Reply to This | # ]
If only!
Authored by: jiclark on Feb 27, '04 10:51:03PM
Look again at the original hint: "If you'd rather have your (third generation only) iPod display an actual value...".

We owners of older models just have to get along without a lot of the cool things you can do with the newer ones. I will say, though, that I still vastly prefer the controls on my (2nd gen. 10 gig) model to the 3rd generation models I've tried. Controls are way too touchy on the new ones.

Good luck, John-o

[ Reply to This | # ]
If only!
Authored by: 153957 on Feb 28, '04 05:52:49AM

Thats to bad, Apple really should support the old models better, give them some of the new features. like this one.

[off topic]
It's true that the buttons are to touchy, i wear my iPod around my neck in some sort of small bag, and i can control my iPod from the out side, with the 3rd gen you touch the buttons to easily and dont know what you were doing.[/off topic]

---
153957 - TheNumberMan - MacFreak



[ Reply to This | # ]
Why?
Authored by: GORDYmac on Mar 03, '04 01:07:42PM

What other personal electronics (phones, MP3 Players, calculators, PDA's, etc.) are firmware upgraded after they are manufactured? Apple has done well with the iPod--leagues beyone Rio, Sony, and the others.



[ Reply to This | # ]
works on the iPod mini
Authored by: frankko on Feb 28, '04 05:04:57PM

In case anybody was wondering or wasn't sure, this trick works on the iPod mini, too.



[ Reply to This | # ]
Change the iPod battery display style
Authored by: majestic on Feb 28, '04 08:53:48PM

Please help...How do you open up the terminal?



[ Reply to This | # ]
Change the iPod battery display style
Authored by: zygote on Mar 01, '04 01:26:49AM

Open your Applications Folder, then find the Utilites Folder. The Terminal is an application in the Utilities Folder. Double click it and you'll get a window with a prompt something like this:
[embryo-computer:~] zygote%
where "embryo" is replaced with your computer's name and "zygote" with your account name or close to that. Type commands after the % sign.
-------------------------------------
Before you start using the Terminal, you should become more familiar with what it can do. (Those things fall into two categories: really cool and really dangerous.) Check this out this primer: http://www.xml-dev.com:8080/tldp/http://oliyoung.com/TerminalBasic.xml



[ Reply to This | # ]
Change the iPod battery display style
Authored by: joshbi on Feb 28, '04 11:28:45PM
I just wrote a quick script to change between the Voltage and Battery icons.

iVolt.zip

or if you don't have panther right click and save this link to disk:

iVolt.app

let me know if it works for you!

[ Reply to This | # ]
Change the iPod battery display style
Authored by: aztronaut on Mar 01, '04 05:23:42PM

i tried your little app . . . very nice.

works!



[ Reply to This | # ]
Change the iPod battery display style
Authored by: gigo on Oct 01, '04 06:42:17PM

HI, i tryed this app but it didnt work, i guess it was because i have a Ipod but i use a PC not a mac, is their any way i can do this with a PC



[ Reply to This | # ]
Change the iPod battery display style
Authored by: snowdancer16 on Dec 06, '04 01:17:40PM

what password does one enter when prompted by this apps.?



[ Reply to This | # ]
Change the iPod battery display style
Authored by: gruffell2 on Sep 02, '05 09:11:23PM

I tried doing this in terminal and kept getting "No such file or directory" so I tried you app and get the same result.
Running 10.4.2 and a 6 gig iPod mini.

Any thoughts?

Greg



[ Reply to This | # ]
Change the iPod battery display style
Authored by: KRC on Nov 06, '04 11:18:16PM

I know this is an old hint hence the part where it says "(third generation only)" back in Feb 04 when the fourth gens weren't out yet, but I'd like to know if someone tried this with the fourth gen or iPod Photo? I don't have a fourth gen iPod yet but it would be nice to know if this trick works on it. Thanks.



[ Reply to This | # ]
Change the iPod battery display style
Authored by: fwalker on Dec 04, '04 09:49:21PM

I just did this, it worked perfect. I had a full charge and the voltage number was at 519.



[ Reply to This | # ]
Replacement iPod battery
Authored by: GreenApple123 on Aug 21, '06 03:42:14PM
My iPod battery always sucked. I finally bought a replacement battery from www.laptopsforless.com and it works great. I would recommend the site if you need a new iPod battery and don't want to pay the Apple price.

[ Reply to This | # ]
Change the iPod battery display style
Authored by: rlicata on Sep 26, '07 04:24:34PM

Or you can alternatively change the name of your iPod using iTunes without having to touch Terminal.



[ Reply to This | # ]