![]() |
Re: [Request] Battery charge status on status LED
1 Attachment(s)
i wrote a plain script * who drive the led ALL colors with color of the pulse function of time digits when charger is plugged
the idea is to keep led white and modify leds currents * the script ( Pulsar ) is unfinished and work well until battery is fully charged when full white pattern is changed to full green. an early variant of the script you can find here : http://talk.maemo.org/showpost.php?p...4&postcount=33 actual script is more finished and obfuscated and i thought also at battery status indicator. if i find time i will finish this script with an option of time , battery status or both. |
Re: [Request] Battery charge status on status LED
I added a method for preventing MCE from interfering with the leds, and it is available in power-kernel. This adds a dominant attribute called dbrightness to the leds such that if this attribute is set to non-negative, writes to regular brightness attributes are ignored, so MCE works as usual, it just has no affect.
Someone could implement the same for the engines, thus allowing for temporarily preventing MCE from controlling the leds. |
Re: [Request] Battery charge status on status LED
Since it was requested, I'll post the script I used.
If you are unsure what it is doing or how to use it, please don't, it can screw up your mce.ini file which will definitely screw up your system, causing you to have to flash it, or possibly bricking your N900. It takes more than just copying the script and running it, additional steps are needed. If you can't figure them out, don't use it. Not responsible for any harm to your phone. This is just a brute force method, very likely the worst way to do it. As noted earlier in the thread, it resets mce occasionally, which will clear any other notifications (missed call, im, email, sms, etc). Unless you are more concerned about the battery level than other notifications, I wouldn't use it. I tested it for about 12 hours (1-2 bars, charging overnight, 8-7 bars in morning). It seems to work. Again, probably the worst way to do this and it will cause you to miss other notifications. Code:
#! /bin/bash |
Re: [Request] Battery charge status on status LED
is it possible to add more profiles to the mce.ini
like over here Code:
# Priority (0 - highest, 255 - lowest)then if the profiles are added we can use the script in the post before to force these profiles to be loaded thus our problems solved im not sure about all this its just pure assumptions so far i just dont have a spare N900 to test with but i promise to work with this for now hopefully we can make this come true!! |
| All times are GMT. The time now is 08:50. |
vBulletin® Version 3.8.8