Well i am trying without success to modify the status bar battery icons so they show the charge in 1% o mejor 5% steps
so far i modified stat_sys_battery_charge y stat_sys_battery, added the necessary battery icons where they belong. But after compiling and installing the notification bar battery icons still show in steps of 20%.
I assume that the Eiclar kernel is capable of that
I found after decompiling the framework a public.xml in /value. Do i have to add the new drawable new icons with unique ID's also in that one or do i miss something? Perhaps the service.jar?
Running Telus 3.11 on Milestone
I'm pretty sure the Milestone and Droid hardware is only capable of reporting battery status in 10% increments, so you unfortunately wouldn't be able to get 1 or 5 no matter what you do
Penguissimo said:
I'm pretty sure the Milestone and Droid hardware is only capable of reporting battery status in 10% increments, so you unfortunately wouldn't be able to get 1 or 5 no matter what you do
Click to expand...
Click to collapse
Noticed that also after some tests
Penguissimo said:
I'm pretty sure the Milestone and Droid hardware is only capable of reporting battery status in 10% increments, so you unfortunately wouldn't be able to get 1 or 5 no matter what you do
Click to expand...
Click to collapse
you sure? when the milestone battery level drop below 20%, it will display 20->15->10->5%, so the milestone hardware just support 10% increment at first 80% and support 5% increment at 20% level?
emprize said:
you sure? when the milestone battery level drop below 20%, it will display 20->15->10->5%, so the milestone hardware just support 10% increment at first 80% and support 5% increment at 20% level?
Click to expand...
Click to collapse
It does switch to 5% increments once you get below 20, but from everything I've read, this is also a hardware function. No way to go finer than 10% when you're above 20, unfortunately.
Penguissimo said:
It does switch to 5% increments once you get below 20, but from everything I've read, this is also a hardware function. No way to go finer than 10% when you're above 20, unfortunately.
Click to expand...
Click to collapse
CM can do 1% increments in it's settings(i havent use the setting since i changed my battery icons with %, so it could be not as fine as 1%), so there must be a way to do it
kakyoin said:
CM can do 1% increments in it's settings(i havent use the setting since i changed my battery icons with %, so it could be not as fine as 1%), so there must be a way to do it
Click to expand...
Click to collapse
There seams to be a way.
Problem is you don't have enough unused icons in /drawable-hdpi-v4. Te only possibility for new images is to add in /value/public.xml the needed battery icon names with ID's and create them than in /drawable-hdpi-v4. Than modify the battery xml's. CM does it that way. Doing that we than will know if 2.1 is capable of recognize 1% steps. Also question is to what are those ID's related.
This should do th job.
kakyoin said:
CM can do 1% increments in it's settings(i havent use the setting since i changed my battery icons with %, so it could be not as fine as 1%), so there must be a way to do it
Click to expand...
Click to collapse
The issue here is that the phone's hardware will only respond to queries for remaining battery with a certain set of values (100, 90, 80, 70, 60, 50, 40, 30, 20, 15, 10, 5). CM is certainly capable of displaying the battery value in finer increments, but this is more of a vestigal feature from its HTC-phone origins, as the Droid will never report any value other than those listed.
There are apps on the Market that estimate battery percentage to a finer degree (I think Battery Left widget is one of them?), but they don't get their information directly from the phone's power manager. Rather, they monitor your battery usage and voltage over time and produce an estimate based on this data.
This would be an awesome feature to have in a ROM, but it would require a bit more effort to implement than it would on a phone that reported battery percentage in 1% increments to begin with.
Penguissimo said:
The issue here is that the phone's hardware will only respond to queries for remaining battery with a certain set of values (100, 90, 80, 70, 60, 50, 40, 30, 20, 15, 10, 5).
Click to expand...
Click to collapse
how do you get it in 10% intervals?
mine only drops in 20%
did you modify the battery_stat?
kakyoin said:
how do you get it in 10% intervals?
mine only drops in 20%
did you modify the battery_stat?
Click to expand...
Click to collapse
Yes i have the following:
For stat: 0,5,15,20,30,40,50,60,70,80,90,100
For charging: 0,10,20, etc.
You need to change two xml files and change/replace some images.
kakyoin said:
how do you get it in 10% intervals?
mine only drops in 20%
did you modify the battery_stat?
Click to expand...
Click to collapse
In addition to Thomas_BA's advice on how to get all of these increments to show in the status bar (which some ROMs such as CyanogenMod have already done for you), you can also see your battery status in 10% increments by going to Settings:About Phone:Status.
Thomas_BA said:
Yes i have the following:
For stat: 0,5,15,20,30,40,50,60,70,80,90,100
For charging: 0,10,20, etc.
You need to change two xml files and change/replace some images.
Click to expand...
Click to collapse
Any chance of sharing those files?? I cant seem to get my modded framework res apk to work... Thanks in advance!
yayyap159 said:
Any chance of sharing those files?? I cant seem to get my modded framework res apk to work... Thanks in advance!
Click to expand...
Click to collapse
For Android 2.1:
Important:
Don't use the images on a CDMA phone
In case you have CDMA use some unused GsM signal images, rename the files and also the name in the xml files.
The zip file contains two decompiled (clear text) xml files and the necessary battery icons. Don't use them on a CDMA phone, as i changed some CDMA signal images to battery icons. I don't need them as i have a GsM phone.
Also you have to rename the image names. Just remove 00_,01_,etc. and C00_, C01_, etc. I have done so to show the image order regarding charging and statue.
Usage:
Decompile your framwork-res-apk. Copy the xml files into the dcompiled framwork-res (not the images), compile, rename framwork-res.apk to '...zip' and tan copy the images.
hi ..
where i should copy images ..
is ti work with 2.2.1 rom ?
mytouch11 said:
hi ..
where i should copy images ..
is ti work with 2.2.1 rom ?
Click to expand...
Click to collapse
In 2.1 copy them to res\drawable-hdpi
I haven't checked the xml files in 2.2.1 rom so i can't tell.
Related
Hi.
Anybody knows app or tool to change the battery icon by an % one?.
Thank you.
this would be helpful to me.
I use Battery Status
I use these files :
dont remember the thread, but the idea comes from schaps who develop ROMs for Hermes and Kaiser.
Usage : Install SDKCerts.cab, then PK%20White%2BColorNewWarningClean3GCompressed.cab , and SoftReset.
To uninstall : Uninistall PK%20White%2BColorNewWarningClean3GCompressed in Program Manager, Then RemoveSDKCerts.cab, SoftReset.
It looks good, the battery charge is indicated with 10% steps.
Vrdsp0 said:
I use these files :
dont remember the thread, but the idea comes from schaps who develop ROMs for Hermes and Kaiser.
Usage : Install SDKCerts.cab, then PK%20White%2BColorNewWarningClean3GCompressed.cab , and SoftReset.
To uninstall : Uninistall PK%20White%2BColorNewWarningClean3GCompressed in Program Manager, Then RemoveSDKCerts.cab, SoftReset.
It looks good, the battery charge is indicated with 10% steps.
Click to expand...
Click to collapse
Great Vrdsp0, thanks for that. It's exactly what I was looking for...
That is a great piece of software, really like. Thanks Heaps.
Excellent app, cheers for posting it and props to whoever made it.
Been looking for a lightweight freeware way to do this for ages.
any screenshot please??
i agree, i would also like to see a screenshot as well as a more detailed description of this app.
thanks!
it doesn't show the right percent of battery, this app shows 90%, but Battery Status shows 82 %, soft reset 2 times, still same
Edit, i need to disable Battery Status, in order for this app works properly, it's great
ariandax said:
any screenshot please??
Click to expand...
Click to collapse
http://i3.tinypic.com/6wymnvc.png
look at the battery on top of screen, it shows the % of battery
how do i disable the battery status so it works properly?
it says 100% and my status says ive got about 92%
It shows the level in steps of 10% and rounds up.
Eg
91%-100% = 100%
81%-90% = 90%
etc
I assume this is because its actually an image thats switched every 10%, not an actual live meter per se. Still, I find the battery meter is only accurate +/- 10% anyways, so no difference really.
it shows in incriments of 10 bc thats how the stock microsoft battery manangement is designed. battery status does it differently. the battery icons are nothing more than images in phcanoverbmp.dll, pretty easy edit. pics are in original thread those cabs were found in.
edit: this is not a app. it is just overwriting the default battery icons by using a dll. the battery icons shown have been created by me and bennec83 but the technique was first used my schaps and someone else who i cant seem to remember the username of. me and bennec just created new icons. same dll is used for clean 3g icons, call history icons, and pin pad if i remember correctly.
It is on increments of 10% because that's how the Hermes' battery management works. And that's where it was first modified for.
waichai said:
http://i3.tinypic.com/6wymnvc.png
look at the battery on top of screen, it shows the % of battery
Click to expand...
Click to collapse
Tnx for screening
waichai said:
http://i3.tinypic.com/6wymnvc.png
look at the battery on top of screen, it shows the % of battery
Click to expand...
Click to collapse
Wow, what's that ROM?
After installing RemoveSdkCerts.cab, No sound in the Device...????
I have installed the sdkcerts.cab but after some time I noticed that my Battery Drains, I thought to remove & check out that this installation is not the problem? So have removed by RemoveSdkCerts.cab . After removing & soft reset I have noticed that my sound is totally gone. Even after dialling, Music Player.....No Sound. I was disturbed with that. Dont know what to do. Then after I have reinstalled sdkcerts.cab and I got back my sound.
If I want to remove this application/drivers then what to do? Is there such issue came....
Help me out
Mehul Patel
mehulpatel said:
I have installed the sdkcerts.cab but after some time I noticed that my Battery Drains, I thought to remove & check out that this installation is not the problem? So have removed by RemoveSdkCerts.cab . After removing & soft reset I have noticed that my sound is totally gone. Even after dialling, Music Player.....No Sound. I was disturbed with that. Dont know what to do. Then after I have reinstalled sdkcerts.cab and I got back my sound.
If I want to remove this application/drivers then what to do? Is there such issue came....
Help me out
Mehul Patel
Click to expand...
Click to collapse
i have also noticed that my battery is also draining quite fast... HTC Touch Pro. i have not uninstalled yet for fear of loosing sound... i have the stock bell rom and radio... im gonna give it a few days to see what happens with the battery...
Same here with D2. My battery drains. I have read in a few places that the sdkcerts don't do any harm, but it did the same thing with my X1. Are the certs device specific? Is there another way to install the battery icons?
I have looked up a lot of different examples of how to read what the current percentage of a battery is, but I can never get it to work. Whats the easiest way to find out what percentage the battery is at?
thanks in advance!
hyperbyteX said:
I have looked up a lot of different examples of how to read what the current percentage of a battery is, but I can never get it to work. Whats the easiest way to find out what percentage the battery is at?
thanks in advance!
Click to expand...
Click to collapse
hxxp://mihaifonoage.blogspot.com/2010/02/getting-battery-level-in-android-using.html <-- easy way to show battery level - tested (change hxxp for http ofc ;> ).
hello.
could you help me to chose economy kernel for my device i9000.
i need more working time on my device.
thx for answers
Well, if you are willing to sacrifice some power you could underclock with Damian's ultimate kernel and as well undervolt (whatever your phone can handle)
apart from changing the kernel, have you tried tasker? this app can really help you to save some battery...
I dont no about Kernels But ive heard 'insanity' ROM is amazing on battery life without losing speed and features.
check for it under development and see what Kernel people are using with it.
i try to underclock CPU but program that i use cant use all frequency only 100 - 500 mhz.
can you give me advice what program can underlock CPU and good task killer.
i need much web serfing
elxeon said:
i try to underclock CPU but program that i use cant use all frequency only 100 - 500 mhz.
can you give me advice what program can underlock CPU and good task killer.
i need much web serfing
Click to expand...
Click to collapse
as for now, try damian's kernel, underclocking setting is in the recovery menu. As far as I know, he is working on an app for the new kernel but just try version 1.1
Concerning task killers, I found out that they do more harm than good. Don't use them...
The problem with web surfing is that the display is on all the time (what else?!^^) and it consumes a lot! there is not much one can do about it...
how can i reduce consamption of display? can i change white color on black in browser? to reduce consamption of energy?
elxeon said:
how can i reduce consamption of display? can i change white color on black in browser? to reduce consamption of energy?
Click to expand...
Click to collapse
I assume you have already set brightness to minimum, in addition you could use the app "screen filter" which makes the display even darker but then it is only readable in the dark.
Do you set your brightness to automatic ?? thats a big help
As for changing display color i dont know if thats possible, unless you can find a themed version
EDIT: sorry just noticed the above post
GMH24 said:
I assume you have already set brightness to minimum, in addition you could use the app "screen filter" which makes the display even darker but then it is only readable in the dark.
Click to expand...
Click to collapse
i already done all your advice
may be thomething else?)
i use program that control brightness but i forgot how it's called. i download it from android marke and than reflash device
and say please One Click Lag Fix APK decrease or increase reducing power?
lagfix will always reduce battery life, but the more updated lagfixes use less, but still use more than stock.
Have you got the app "juicedefender" thats a good app and i have been using it daily for months.
elxeon said:
and say please One Click Lag Fix APK decrease or increase reducing power?
Click to expand...
Click to collapse
I ran some test cycles with speedmod and ultimate kernel with both standard file system and converted system. Therefore, I can say that just changing the filesystem does not influence battery life in any way noticeable.
azzledazzle said:
lagfix will always reduce battery life, but the more updated lagfixes use less, but still use more than stock.
Have you got the app "juicedefender" thats a good app and i have been using it daily for months.
Click to expand...
Click to collapse
it's realy working?
thx i will test it.
GMH24 said:
I ran some test cycles with speedmod and ultimate kernel with both standard file system and converted system. Therefore, I can say that just changing the filesystem does not influence battery life in any way noticeable.
Click to expand...
Click to collapse
as i know One Click Lag Fix APK change only file system?
its not MEGA improvement but the donate version has more options. what it does is cuts off all connectivity on screen off, so nothing is being used when it shouldnt be.
its really good IMO, and the partner to the app is 'juice plotter' this will identify what running processes are happening when the phone is idle, allowing you to modify to save battery life a little more. another similar app which is also good but a little hard to understand is 'task identifier' this is similar to juice plotter,
it tells you what apps and processes are starting up automatically. Over night i found 48 processes happening when i was sleeping. THAT drains battery
What exactly are your battery stats?
how long does your phone last on one charge? how long is the display on? how long do you call?
elxeon said:
i already done all your advice
may be thomething else?)
i use program that control brightness but i forgot how it's called. i download it from android marke and than reflash device
Click to expand...
Click to collapse
I like speedmod's modification on screen brightness that allows for even lower brightness than I got from voodoo kernel. No idea if other kernel has such feature.
on one full charge i get roughly 2 days.
display is on automatic and i make about 5 - 10 calls a day, and text all day, i manually push emails every few hours and browse the market / xda / youtube for a few hours a day.
Im not a heavy user, but i play alot of games ( especially angry birds ) im more than happy with my battery usage.
Im also on the JQ1 modem, if this is of any use.
If you want to use screen filter, leave the brightness at automatic and it is great in all but the brightest sunlight. I use auto brightness and 60% filter to good effect. You can create a widget, so it can be turned off if required. It also plugs in to Tasker if you want to set up automatic profiles.
Also, the Super Optimized Kernel is worth a look. Each OC/UV value can be completely customized (unlike DamianGTO's kernel, which relies on a series of presets), using the "Voltage Control" app.
I would stay away from Ext4 lagfixes if battery life is of upmost importance. That said I use lagfixes and am torn between JFS and Ext4 with 'unsafe' mount options (selected in recovery). EXT4 with 'safe' mount options uses far too much battery IMO.
JFS is somewhat unstable, and EXT4 'unsafe' can become corrupt after an improper shutdown. The battery life with ext4 'unsafe' is slightly worse than JFS, but you get a corresponding slight increase in performance. Try each for a day if you go that route before choosing, but for the reasons described above be prepared to reflash in case of disaster...
When I use my calculator with anything percentage wise, example 300-7% I'm not getting the correct calculation, it acts like I'm subtracting .007 from the example. I use the percentage key a lot on my calculator and before I download another calculator app can anyone else confirm that percentage is broken on the stock calculator? I sent Google feedback about it from within the app.
I just gave it a spin 100 * 10% = 10. Works for me.
But your logic causes the same error.
I don't think it's an error, I think that's just how the app is designed. To achieve the result I assume you want (300 - 7 percent of 300 = 279) you must input "300-7%300"
Thank you it worked. I don't understand why Google makes you put in the extra step but at least it's usable now
pj1980 said:
Thank you it worked. I don't understand why Google makes you put in the extra step but at least it's usable now
Click to expand...
Click to collapse
You're welcome!
The idea is that the calculator can't know what number you want the percentage of. So if you wanted to do something like "300-7%+82" it wouldn't know if you want 7 percent of 300 or 7 percent of 82. So, they just make you tell it specifically.
I've successfully rooter my Nook Simple Touch and explored all of its files and databases that I can find. But I cannot locate the setting to change that will update the frequency at which the screen saver changes images.
My goal is to have a folder of image files that change every 30 seconds or so. Unfortunately, the stock screen saver's change timer is much longer than that.
As a workaround, I set the screen saver activation time to 500 hours and installed Perfect Viewer to run its slideshow function, but this is less than ideal. I'd rather just do it the right way.
Does anyone know where this setting is located?
Thanks!
Reaperducer said:
I've successfully rooter my Nook Simple Touch and explored all of its files and databases that I can find. But I cannot locate the setting to change that will update the frequency at which the screen saver changes images.
My goal is to have a folder of image files that change every 30 seconds or so. Unfortunately, the stock screen saver's change timer is much longer than that.
As a workaround, I set the screen saver activation time to 500 hours and installed Perfect Viewer to run its slideshow function, but this is less than ideal. I'd rather just do it the right way.
Does anyone know where this setting is located?
Thanks!
Click to expand...
Click to collapse
That would seem to be a poor decision as far as battery life is concerned. Are you sure you really want to do that?
nmyshkin said:
That would seem to be a poor decision as far as battery life is concerned. Are you sure you really want to do that?
Click to expand...
Click to collapse
Battery life is not a concern in my application.
Reaperducer said:
Battery life is not a concern in my application.
Click to expand...
Click to collapse
OK, so I have to admit I didn't even know this happened. It's been a long time since I used a folder of images for a screensaver. What I seem to recall from that time was the images changing each time the NST went to sleep, but not during sleep.
Let me take a look. I guess one possible approach would be to consult a logcat after an image change and see if there are clues there.
I've come up empty on a search through the various B&N app databases and settings files.
Just to see this actually happen, I changed my screensaver from a static book cover image to one of the packages of images I installed years back. That was nearly 24 hours ago and there is still no change, which is what my memory told me to expect. So without an automatic change, there is nothing to look at in the logcat.
Are you sure your images actually change by themselves during the standby/sleep process? I know they change when you wake up the device and then let it fall asleep again.
You've already tried the slideshow idea or I would suggest that, but did you know there is a built-in slideshow (probably associated with the demo mode)? I don't know what the parameters of that are or whether you could replace the images with your own without breaking it.
Maybe a better question to help me understand what you'd like to do is: will the NST be used for something other than the slideshow display (either running in the background or running on demand when the device is awakened)? If all you want is the slideshow then any number of apps (like the PerfectViewer you mention) would work. Maybe something simple if you just need the slideshow. But if you really are using the device for other things and just want the sleep screen to change periodically, that's either got to be supported in the settings in an accessible way (which I'm doubtful about) or it has to be a custom alteration of the OS.