[Q] Battery percentage? - Nook Touch Android Development

I used to have my NST rooted with 1.1.2 FW and I managed to change the battery stock images with Rom Toolbox Pro.
Now, I'm on 1.2.1 (also rooted) but if I try to do the same my NST ends up messed up and I'm forced to do a restore.
So how can I put the battery percentage on a 1.2.1 rooted NST?
Thanks.

There are quite a number of changes between 1.1 and 1.2
The problem with using an Insta-Wonder-Auto-Tool is that you don't know what it's doing.
When it doesn't work, you are a few steps behind than if you were doing something manually
Sorry, I haven't looked into changing the battery status drawables.
My laundry list of things to do on the Nook doesn't go that far.

I know ReLaunch will display exact percentages while on that screen. If you don't need exact percentages but would like a more accurate estimate than the limited number of states the icon in the status bar shows T.E.A.M Battery Bar (at least. there are likely others that do a similar thing) will put a persistent 1 px tall bar across the top or bottom of the screen, that's what I use and it's been good enough for my needs at least. https://play.google.com/store/apps/details?id=com.pvy.batterybar&hl=en

I guess it's something...

Related

Battery indication on screen

I previously sorted out the locking up problems with help from you guys on here, and I'm sure that I have seen something about a battery indicator on screen when not using O2active but can't find it. Can someone post a link to the thread if it actually does exist or does the function not exist out of O2active?It's quite possible that I had a "moment" and imagined that I saw this of course - it's an age thing, hopefully!
Cheers. Alan
Why not load up the GPRS monitor program that the device come with and configure that to display Battery status on the screen - after its free, and a damn good utility if you use GPRS to track the cost - Mike
Or download Batti (just search for it - it's free)... I use it, and love it, for various reasons I won't bother to detail here
Thanks for that, I'll do a bit more digging. I don't use GPRS for monitoring (as far as I know) so I'll have a look at batti.
In. Done. What a handy little thing! Thanks again.
There's several, really... I like to classify them graphically as...
A. Applications
B. Today screen/Tray
C. Task bar
D. Top/Bottom overlay
The first group, Applications, I wouldn't even bother with. They tell you what the battery level is, and sometimes more information, but you do need to actually run the application. So there's no quick view of what the battery level is at any time.
The second group is nice if you're on the Today Screen a lot. They typically have nice graphics. However, they'll only be on your Today Screen, and take up space there. Very often the larger "Does everything!" applications that use the Today Screen will have one of these, typically along with indicators for memory and storage space.
The third is a bit nicer already. You can see it on any screen, as long as the task bar is in view. There's just one problem - they take up space on the precious task bar - and there's not a whole lot of space there on a QVGA device when in portrait mode. Some solve this by putting a tiny little bar underneath the clock - so much for getting a readout 'at a glance', though. In addition, any application that hides the task bar, will hide that indicator as well.
The last category, at least for me, is ideal - and Batti belongs in that category. Thes are the battery indicators that are usually just a line of a few pixels (or even 1 pixel, like Batti) high, going across the top/bottom of the screen. They're always visible, and you can easily tell how full your battery is even if it's just a white solid bar (such as what's in MagicButton).
They usually come in two flavors.. a solid bar going from left to right, or individual little bars, so that you can easily count in percentages. One of SPB's products comes with one of these, for example. Which style you prefer is really a matter of personal likings.
What's extra nice about Batti is that you can set it up to change the color of the bar at two percentages (e.g. 33% for 'low' with an orange color and 10% for 'critical with a red color), all user-definable. It can also indicate charging, and has a nice textual read-out of charge, voltage, temperature, etc. if you click on it (optional). The frequency with which it updates can also be setup. Some of the battery indicators poll every second, for example, thereby actually draining the battery a good bit itself more than it needs to. I have mine set up to update every minute, which is more than enough.
The *only* thing I would love to see added to it is alarms for the two percentages - which I've requested from the author, but haven't heard back from him as of yet Some of the other battery indicators may have alarms, so that might be something to keep in mind.
Batti
Where can I download Batti from ?????
http://www.google.com/search?q=pocketpc+batti
Battery meter.
I downloaded Batti and I dont think its very good at all !!!. The battery level indicator that comes with Pocket Hack Master is way better. However what I realy Real Real need is the OLD battery level software from WM2003. You know the one with red and green in the settings folder. Unfortunately I deleated it when I hard reset my phone.
Please anyone out there who has the old WM2002/3 still on file. Can you send me a copy of the file I need to make that work again.
Thankyou
Rob
I guess you'd have to state your reasons for liking the one that comes with Pocket Hack Master better
There's three things that are at play, to begin with...
1. Pocket Hack Master isn't free. Of course, if you are looking into the functionality it offers (CPU clock speed tweaking, etc.), then its built-in battery meter is a nice bonus when you do buy it anyway.
2. Pocket Hack Master doesn't run on all devices. Due to the fact that it is an application mostly geared towards CPU clock speed tweaking, it will refuse to run on unsupported processors such as the TI OMAP processor. I believe this doesn't apply to the Blue Angel, but does to e.g. the Wizard.
I have an HTC Wizard.
3. Personal preferences. Everybody will prefer their own style of battery meter, etc. You didn't fully explain why you like Pocket Hack Master's better, and unfortunately I can't fully review it as Pocket Hack Master refuses to work on my device. However, from some screenshots it appears that you can only set colors for battery or A/C (i.e. no change of color based on the charge level), the size appears limited (though you can make it a small 2px bar or a series of 4px blocks), and you can't set the refresh rate. On the other hand, you can fully control its positioning and hide the border. All in all - though again.. I'd have to actually be able to run it to make sure.. I haven't seen an screenshot of the 'gradient' method for example - I'd still have to stick with Batti on features alone.
Hopefully they'll add TI OMAP support soon, as it would be worth getting for that, for sure
For the curious, Batti was updated to version 1.4.
Added: Sound Events
Added: Option for turning off the frame around Batti
Added: Option for blinking on critical level
Added: Battery status on Info page (Charging, On AC, On Battery)
Added: Custom color for charging*
Some bugfixes
* charging is different from being fully charged. Sound events can be defined for charge start and charge end as well.
And I forgot to mention in my main rant that you can change the strings for localization easily - most of the main languages are already available for download
My question about this utilities, is which takes least memory space and battery life?
I hate to install something very usefu which on the downside slows down the device and makes me go crazy with the battery.
Of course anything that continuously monitors the battery performance will take up extra battery life itself, though it's typically negligable. Batti itself can be configured to poll only every N seconds - I have mine set to 60 seconds, but obviously there's no real reason to even set it to this frequency - the battery won't drop that much in a minute
As for memory use, I can't really report on others, and you have to keep in mind that several of the battery monitors are part of a larger whole; and if you want the larger whole anyway, then you typically won't lose any additional memory from enabling the battery monitor functionality. For example, MagicButton has a battery indicator line as well.
Batti takes up roughly 40KB
If you want a pure battery monitor proggie:
http://forum.xda-developers.com/showthread.php?t=364278
One of the best

wm6 battery icon in all programs ???

Judging by my searches, this cannot be done ...
I can make the clock in the titlebar appear on all programs.
I can replace the clock in the titlebar with the battery icon.
So why am I unable to put the battery icon in the titlebar of all programs?
Or can I?
As there is no reply yet, perhaps I can suggest a different approach?
I use the Freeware app Batti version 2.4. You can Google it. This puts a thin row of pixels across the top of the title bar. One of the options is to make it "always on top" and this will ensure that it is visible even when an app takes over the full screen. It is a very small program 164kB which runs at startup. You can even set how many pixels high is the strip that shows battery status, and change its colours while on battery and charging states. Of course it takes up no space on the title bar itself (apart from say 3 pixels vertically) and therefore you can display clocks etc as well. Thoroughly recommended.

[Q] A smoother status bar in cm7?

Hello!
I have the flashed the cm7 and my status bar is quite buggy.I can say that my stock's rom status bar was smoother...Is there anywhere another status bar i can try?
I'm sure there is no way to edit the status bar without first modifying the ROM. So, the only way would be to modify the ROM files.
Anyway, that is just from my knowledge. There might be another, easier way, but I don't know of it.
And, I think it might just be the Wildfire. I have looked at the Wildfire S, Desire etc (Higher GPU, CPU etc) And they are exceptionally smooth. Even my stock bar wasn't very smooth.
Also. CM7 has the power control in the notification bar, so that might contribute to it...
I'm now on CM7.1.0.1 Gingerbread 2.3.7. Wildfire (not Wildfire S)
My statusbar also use to be very laggy, sometimes even freezing at a point for a second and then going all the way down. '
My statusbars is now very smooth, just as smooth as the stock software, if not more...
This is how I did it, I experimented with different settings.
Go to Settings-> Performance-> Tick: Use 16bit Transparency
(you could also disable surface dithering, and it would make a difference but it makes gradients look reeeeally bad...)
THEN
Go to Settings-> Interface-> Notification power widget-> (read below)
You could disable it entirely, which would make it smoother, or just enable as little widgets as possible, I only have the music controls and the flashlight. Furthermore, tick 'hide indicator' and 'hide scrollbar' then go back to 'Interface' then tick 'Compact carrier label'. It also makes it smoother and looks better anyway.
After this reboot your phone. It should be noted that my phone is overclocked to 245mhz min and 691mhz max with the 'ondemand governer' My battery lasts 1-1.5 days on this setting which is enough for me.
Also some of the settings I mentioned weren't in previous versions of CM, so flash the newest one if their not there.
I hope this helps.

I flashed to Takju from AOKP+Franco.. 1st Question..

The default battery status is ugly as hell. Its displayed as an icon.. How can i just have the text like in AOKP? (85%, 60%, 10%, etc..)
I have checked in the battery option and got nothing displayed. Only help.
The build i have is the one from Koush in CWM.
I dont want a widget.. I would like to have it displayed on the lock screen, and in the top right corner.
Thanks.
You can always check in the themes and apps thread... there are some up top just make sure its ICS and not Jelly Bean lol
-Google
Stock Android doesn't have a battery percentage option. You can have a graphical battery and that's it. You'll have to flash a mod to get it (like most customizations).
I was super stoked to get battery % back in the day, but now I realize why its pretty much unnecessary. Battery drain is so variable on a phone based on what you're doing at that time, your network, running apps, etc. that its not a linear drain (just look at your battery stats at the end of the day). So a battery % really doesn't give you a good idea of how long your phone will be lasting from that point. I found with a battery % mod I spent more time worrying about the % and turning on the screen to check it, that my battery life would be longer if I just had a bar displayed.

[Q] Progress Bar Split using Advanced Parameter

Morning all.
I am trying to make a fancy battery bar widget using 4 progress bars each curved 90 degrees and rotated to make a full circle, and each individual bar only showing a 25% range of the battery level, so bar 1 is 0-24%, bar 2 is 25-49 % etc.
What I'm trying to do now is split the bars into sections depending on the battery level, so when the battery is below 75% but above 50, I want the 3rd section to split into 5 chunks but have the first two bars stay solid... if you get what I mean.
But I've searched and tried to find the Advanced Parameter for progress bar chunks/splits and I cannot find it. The text on the advanced parameter button in Zooper says "...control almost any aspect of this module...", and I'm not bashing, but is this one option not available or have I missed the appropriate keyword from my XDA/Google searches?
Thanks
Wrong thread
@Mokum020
Thanks for the tip I think that's the way to go.
I'll tell you what as well, trying to get the segments lined up with eachother is a PITA!
Mokum020 said:
How about making two progress bars for each section, one solid and one in chunks and show/hide them with the offset parameter at a certain % level:
Solid
Code:
[ox]$#BLEVN#>=75?1000$[/ox]
Chunks
Code:
[ox]$#BLEVN#<75?1000$[/ox]
Click to expand...
Click to collapse
Very Smart Solution!!!
P.S. I'm a robot
Ratchet_Guy said:
Very Smart Solution!!!
P.S. I'm a robot
Click to expand...
Click to collapse
I thought this was an interesting idea so I built my own version of it, attached. Would like to see the OP's as well if willing to share.
As the OP mentioned getting the segments to line up to the exact pixel/millimeter is easier said than done, but sometimes close enough looks...close enough lol.

Categories

Resources