Request: Blinking Led when power on (but stand-by)?? - Android Apps and Games

Is there an apk for get blinking led when power on?
Anyway 1st of all: where do you know that your phone is still alive if it is stand-by???
Second: My wife just bought DHD and her 1st question is how do I know that this phone is still alive and kicking if it is stand-by mode?
And.... I think... blinking led f.e every 60 secs doesn't consume battery a lot??

Bump... Because I made a reguest before...
somebody did this: http://forum.xda-developers.com/showthread.php?p=9039420
However... I am not using Winmo 6.5.3 anymore

PeeHoo,
Not exactly sure if this is what you have in mind, but my battery monitoring app, BattMonX, will keep the LED on (provided the phone's hardware supports it, of course ) while monitoring the battery charging state.
Its highly configurable and might fulfill your needs.
Give it a try...its free in the Market.
Cheers!

Thx... I tried it... but I'd like more a solution where I could choose that led blinks f.e once in a 30 secs or 60 secs when phone is stand-by and still alive... I cannot get this apk working like that...
And this might confuse me also (when led is always on) because sometimes if android crashes or freezes it could cause similar situation (that led stays on)...

PeeHoo said:
Thx... I tried it... but I'd like more a solution where I could choose that led blinks f.e once in a 30 secs or 60 secs when phone is stand-by and still alive... I cannot get this apk working like that...
And this might confuse me also (when led is always on) because sometimes if android crashes or freezes it could cause similar situation (that led stays on)...
Click to expand...
Click to collapse
Yeah, it there does seem to be a little "wonkiness" (if you will) to the consistency of how the LEDs are supported throughout the Android world. Much of this inconsistency is due to hardware implementions, I'm sure (for example, the HTC phones are much different than the Motorola phones in the API's behavior and affect on the LEDs (not to mention what colors are supported)).
There's also the issue of what is actually happening in "stand-by" (I assume you mean when the phone's screen is off and presumably asleep). I've found that without using wake-locks, the user apps (services included (even ones monitoring for system intents)) are indeed quiesced within a few minutes of turning the screen off. This was why I added my "rainbow mode" feature in my app...it was purely to see how Android was affecting how responsive my app was after the screen is turned off. You can actually see Android slowing things down as time goes on after the screen is turned off. So, I think the only way you could get what you want would be to have an app that implements a wake-lock and keeps the CPU alive while the screen is off...a scenario that I don't think most folks would really like due to the potential impact on battery life (i.e., if the CPU is awake for your app, its awake for all apps (I believe)).
Cheers!

Related

Battery problem on Touch Pro - possible cause

Hi all,
My father bought an HTC Touch Pro some time ago; I think it was in 2008, as he needed a good phone, with the organization capability that WM has to offer.
The phone is in MINT conditions, really. It still has the original screen protector and no scratches can be found on it. He uses it a lot, but always has it in the leather case, and in a small pocket, which sometimes results in lost calls, as no one can really hear it ring . The battery is always fully charged, and after some testing I think it is still in good conditions.
The problem that he started getting is that after I installed some programs like GPS Tomtom and AGEPhone for SIP calling that he never uses (hehe), he started noticing the battery was discharging faster and that it would not last even 1 day, when before it would last about 3-4 days.
I uninstalled the programs, and the problem persists. Brightness is on 50%, wifi and any internet connection is turned off. No programs running in background, unless it's active sync that sometimes turns on itself.
POSSIBLE CAUSE - We noticed is that he has a lot of reminders, so the phone is constantly waking up. The problem is that it does not go to sleep afterwards. The touch screen is locked, so when a reminder pops up, the screen stays turned on, even if the backlight is not on, and just drains the battery completely.
Is there anything we can do, so that it (the reminders of meetings, birthdays and other stuff) would not wake the device up, or if it did, the phone would go to sleep after some seconds, so that it would not overheat and drain the battery in 1 day?
It is a quite annoying having to constantly look at the phone, dismissing reminders and turning the screen off, so the battery can last a bit longer.
I need to solve this problem, but my father will not agree with a custom ROM flash. Maximum I can do with it is upgrade it through the HTC tool, but I am not sure if it is worth it.
Here are the information:
Version de ROM: 1.90.406.5 FRE
Date de ROM: 08/20/08
Version de radio: 1.02.25.19
Version de protocole: 52.33.25.17W
The device was bought in Luxemburg and has a French windows mobile 6.1 on it, and an AZERTY keyboard.
Please help me with this issue.
Get tBattery and check to see the current draw under stead, idle conditions. With the backlight at 5, it should draw about 110 mA (there may be some spiking). Use the log feature, say for 10 min @ a time, with power-save options unchecked so the screen doesn't dim and it doesn't go to sleep. If the drain is high (constantly above 200 mA, let's say), then get a good task manager (hint: new dotfred's 3.3) and start killing processes, and see if that helps. If not, then try stopping some of ther services.
Thanks Farmer Ted for the reply, but I think I found the cause of the problem. I don't know why but after it wakes up, because of an appointment, it will not turn the screen off, even after 10 minutes and I have the power management set 30 sec off if not being used.
As the screen is locked, the appointment will not be dismissed by accident or pressed so it just stays like that, until the battery is dead.
Is there a hidden option to make the phone go back to sleep, or to prevent it from waking up, just making the led blink, as when you get new SMS messages and the screen is off, or when you get a missed call?
If there was I think it would solve the problem completely.
Thank you all for your help.
yes the problem is the screen it drains it faster than a hobo with a bottle of wiskey,
what you have to do it click on batter icon and get into the battery menu select advanced and elect turn back light off if device is not used for and select 10 second, then turn off device if not used for and slected 1 minute (its reffering to the screen)
then i use a program called touch pro tweak (its cooked into all energy roms) and there is a setting to wake up on call or text or notification and disable it by wake up it refers to turing the screen on
I have a simmilar problem.. I discovered what causes it... When I install certian programs, it changes the power settings.. namely, the power off when not plugged in setting... So, check out those settings... I have had this happen 3 or 4 times in as many months... then I notice the same issues with my battery.. after I go change the settigns back (for the 100th time) it goes back to pastign 2-3 days for me... (instead of less than 1)
Hi people, sorry to bring up this topic again, but I see no point in creating a new one.
I would like to ask if any of you would recommend me a good French ROM (as it comes with AZERTY keyboard) for this device that has good battery life?
Is it possible that a cooked WM 6.5 would use less battery then stock WM 6.1?
I have another problem, is there a way to turn up the ringing volume of the phone, in order to hear it even if it is in a small bag? It's already on max, but my father complaints the ringing volume is too low and he can not hear it.
And last but not least, how much does this battery normally last? Wifi off, bluetooth off, calling about 15 min a day, some SMS and a lot of reminders.
It can not go a day, max two days without recharging. It is always turned off when he goes to sleep, because if not, he will wake up with a dead device.

[Q] [Request/Question] Flashlight/Tourch app that works with the indicator LED

Hi,
I've been searching the world, the interwebs and on this forum... but nothing seems to come close to what i actually (need) want for my HTC Hero, Since i find myself blind at night it can be challenging to avoid obstacles at night and i have to either turn on the light or use my phone with a "hey look! my phone is a flashlight / tourch" app that uses my screen by turning it bright white (witch hurts my eyes, wakes my GF and drains my battery).
One night i realized that my indicator led (at that time green) was enough light to successfully navigate the dark bedroom at night, without waking my partner... but allas it only showed up when it was done charging and still plugged into the adapter / computer, unfortunately many a usb cable do not reach beyond 1 meter. and i was again forced to use the "hey look! my phone is a flashlight / tourch" app witch got me into a lot of trouble again...
of course i tried the look my phone is a flashlight white screen apps but they tend drain the battery real quick and anoy my partner.
in short... i'm looking for an flashlight app that uses my indicator led instead of my screen or the non-existent camera flash LED.
can anyone here point me in the right direction or make an app like this one
I would be very grateful
Cheers
R.
I am unsure if you can control a hardware LED. I will look into it.
thx that would be awesome, thanks in advance
So yeah, screen flashlight apps let you control the brightness, and the one I used long ago, also lets you control the size of the area, color, etc....
that might be so but the screen flashlight is imho anoying and i would prefer to use the green LED
bstijl said:
[...]
in short... i'm looking for an flashlight app that uses my indicator led instead of my screen or the non-existent camera flash LED.
[...]
.
Click to expand...
Click to collapse
I think you can only control it when you are rooted and it is very device dependent how this is done. But yes it can be done... Basically it comes down to finding the right files in the /sys directory that are controlling the led(-s) and output something to it (usually a 1 or 255) to switch it on. (Maybe this is some info that other developers can use).

A question to all of you, lover of desire s

Hy to all
Does anybody of you have noticed that the device wakes up alone the display for a fraction of a second every 30 seconds. Have seen this thing happening in one evening, watching tv with light off. What is strange, is doing only when gsm is on, for example if I activate flight mode it stops.
Another strange phenomen is that, as far as I read the current widget the ma consumed in flight mode are bigger then in normal, with radio on. E.g. 16ma in normal with mobile data and WiFi off, only gsm on and around 60-80 ma in flight mode.
Can somebody explain how and why, and how I can trace that.
The phone is on default, so no S-off or route or anything, and also no branding, is bought on Vodafone but clean.
Sent from my HTC Desire S using XDA App
burleanu said:
Hy to all
Does anybody of you have noticed that the device wakes up alone the display for a fraction of a second every 30 seconds. Have seen this thing happening in one evening, watching tv with light off. What is strange, is doing only when gsm is on, for example if I activate flight mode it stops.
Another strange phenomen is that, as far as I read the current widget the ma consumed in flight mode are bigger then in normal, with radio on. E.g. 16ma in normal with mobile data and WiFi off, only gsm on and around 60-80 ma in flight mode.
Can somebody explain how and why, and how I can trace that.
The phone is on default, so no S-off or route or anything, and also no branding, is bought on Vodafone but clean.
Click to expand...
Click to collapse
Hello, I'm afraid that I can't explain the screen flicker you're suffering from and I don't get it myself, but, I know that others have complained about it before, so there are existing threads that cover this, although I don't recall anyone linking it to only to when GSM is on, so you may have made some progress there !
Airplane mode....there is something very wrong on all our devices here as I find that Air plane mode consumes about five times the power that normal mode does. In fact on mine phone and wi-fi consumes five time less power than Airplane mode - which is just stupid.
I use Battery Monitor Widget over current widget as I find that CW clocks mA figures twice as high as BMW, you can use the maths function in CW to half the readings if you like the application. With phone and wi-fi idling my phone consumes about 6mA on CW = 12mA. In airplane mode the device consumes 35mA. Again there are plenty of other threads where this has been discussed but to my knowledge no one has yet solved it.
See here in this post regarding screen battery usage this is CW versus BMW is discussed
EDIT: the airplane issue doesn't appear to be RADIO related either as I've now used every radio there is including the latest one just leaked earlier today and the problem is still there - no change, so it's got to be ROM or kernel! Do people on non Sense ROMS, with non HTC stock kernels still suffer this problem?
I have the same issue with the screen flickering, it does not bother me that much but I noticed it. I looked around for a fix but came up with nothing.
If anyone knows how to fix this please post a reply.
Thanks.
I have said this in another similar post before....
Screen flicker can be caused by some Apps requiring the privilage to prevent the device from sleeping (basically a "Wake Lock"). If an App requiring that privilage has not be written properly, it causes the screen to flash on briefly, then back off again.
Whilst you may not find it annoying, it does actually increase wear on the backlight, as well as causes a spike in power consumption. Any momentary spike on the battery is a bad thing!
Take a look at what Apps you're running, find those which require the permission to prevent the device from sleeping, and begin either Force Closing them, or temporarily uninstalling them (one by one) until the Screen Flicker stops.
If you remove a certain App and the flickering stops, you know what the culpret is and you can report the bug to its devleoper(s)!
Come back with the same question
Hi all,
I came now back with the same question - screen flicker during sleep.
What do you find on your device?
I had been trying nearly all the roms available, and from what I had seen all do the same, from stock to the alfa tests with ICS.
I curios does nobody notice that, its only me?
No mater what applications are running or not (I kill them all - via running services not task manager) but the screen is still doing. I start to believe is normal for android, something the same like the consumption in airplane mode bigger then with the phone active (another thing completely abnormal).
Wryly is no solution for this.
PS. Just for my curiosity, regarding airplane mode, the tablets with no phone/3G capability, consume the same? I mean more then the one with 3G, when they sleep?
Respects!
burleanu said:
Hy to all
Does anybody of you have noticed that the device wakes up alone the display for a fraction of a second every 30 seconds. Have seen this thing happening in one evening, watching tv with light off. What is strange, is doing only when gsm is on, for example if I activate flight mode it stops.
Another strange phenomen is that, as far as I read the current widget the ma consumed in flight mode are bigger then in normal, with radio on. E.g. 16ma in normal with mobile data and WiFi off, only gsm on and around 60-80 ma in flight mode.
Can somebody explain how and why, and how I can trace that.
The phone is on default, so no S-off or route or anything, and also no branding, is bought on Vodafone but clean.
Sent from my HTC Desire S using XDA App
Click to expand...
Click to collapse
The screen wake problem is well established now, and described by many users...and as far as i can see it only affects some devices (for example, ben_pyett is on Endymion - same as me, but hasn't reported a similar issue - and he's a pretty astute observer IMO). There was a thread where we had discussed it at length but i don't know where it's lost in all the cacophony on XDA.
EDIT : Found it!
Read here : http://forum.xda-developers.com/showthread.php?t=1460373
---------- Post added at 09:48 PM ---------- Previous post was at 09:47 PM ----------
burleanu said:
Hi all,
I came now back with the same question - screen flicker during sleep.
What do you find on your device?
I had been trying nearly all the roms available, and from what I had seen all do the same, from stock to the alfa tests with ICS.
I curios does nobody notice that, its only me?
No mater what applications are running or not (I kill them all - via running services not task manager) but the screen is still doing. I start to believe is normal for android, something the same like the consumption in airplane mode bigger then with the phone active (another thing completely abnormal).
Wryly is no solution for this.
PS. Just for my curiosity, regarding airplane mode, the tablets with no phone/3G capability, consume the same? I mean more then the one with 3G, when they sleep?
Respects!
Click to expand...
Click to collapse
Read my post above...
AFAIK, it doesn't affect battery life, as i have stellar battery performance. And i'm almost always on Endymion, which is where i see this screen flash thingy mostly.

[Q] Ways to use torch with minimal battery use

So this is a 3 part question on Torches
1) Is there any way to operate torch when your phone is off, basically to be able to use your torch while your phone is off, so that your torch is the only thing utilising battery and not the system, this for incase of emergency. If it is not possible to use the torch when your phone is off, can we use it when the phone is in deep sleep? basically my target it to use the phone as a torch while using the most minimal amount of battery.
2) On Xposed there is an app by wanam - Xposed torch, it allows you to use the torch without turning on the screen, now is this particular app waking the device from sleep or not?
3) For worst cases scenarios can we flash a system which only allows the torch to run via the buttons and nothing else, like this can be used via multirom and save battery
firesword14 said:
So this is a 3 part question on Torches
1) Is there any way to operate torch when your phone is off, basically to be able to use your torch while your phone is off, so that your torch is the only thing utilising battery and not the system, this for incase of emergency. If it is not possible to use the torch when your phone is off, can we use it when the phone is in deep sleep? basically my target it to use the phone as a torch while using the most minimal amount of battery.
2) On Xposed there is an app by wanam - Xposed torch, it allows you to use the torch without turning on the screen, now is this particular app waking the device from sleep or not?
3) For worst cases scenarios can we flash a system which only allows the torch to run via the buttons and nothing else, like this can be used via multirom and save battery
Click to expand...
Click to collapse
Do you need it to use the camera flash? In other words, does it need to be as bright as possible or will any light do? Best bet is to just use the LCD backlight with an all white screen. You could leave the screen on in this way for over 20 hours.
bblzd said:
Do you need it to use the camera flash? In other words, does it need to be as bright as possible or will any light do? Best bet is to just use the LCD backlight with an all white screen. You could leave the screen on in this way for over 20 hours.
Click to expand...
Click to collapse
There's no way you're going to get 20 hours of screen on with an all white display
Sent from my SAMSUNG-SGH-I727 using XDA Free mobile app
bblzd said:
Do you need it to use the camera flash? In other words, does it need to be as bright as possible or will any light do? Best bet is to just use the LCD backlight with an all white screen. You could leave the screen on in this way for over 20 hours.
Click to expand...
Click to collapse
lol, wont even be close to 20 hours.
and op, in order for you to use the led for a flashlight, even with the screen off, it will never go into deep sleep. it will be awake the whole time. in order for the device to run an app, a system or user app, you need the device awake. it will only go into deep sleep when nothing is active.
simms22 said:
lol, wont even be close to 20 hours.
and op, in order for you to use the led for a flashlight, even with the screen off, it will never go into deep sleep. it will be awake the whole time. in order for the device to run an app, a system or user app, you need the device awake. it will only go into deep sleep when nothing is active.
Click to expand...
Click to collapse
I've seen it twice now, though I'm unable to find the links. One fellow on Reddit and another here on these forums. Both were well on their way to over 20 hours Screen on Time with little to no usage. Seeing as I've gotten over 8 myself with actual (albeit light) usage, it wasn't very shocking to see.
The screen with zero interaction uses very little battery due to Panel Self Refresh.
bblzd said:
I've seen it twice now, though I'm unable to find the links. One fellow on Reddit and another here on these forums. Both were well on their way to over 20 hours Screen on Time with little to no usage. Seeing as I've gotten over 8 myself with actual (albeit light) usage, it wasn't very shocking to see.
The screen with zero interaction uses very little battery due to Panel Self Refresh.
Click to expand...
Click to collapse
i still dont believe it. to get 20 hours, you would have to do more to your system than just turn on the screen. there are mods that reduce the brightness of the screen even lower than it normally goes, even to a point where its on, but you cant really tell that it is, its so dim. using that, maybe you can see 20 hours.

Craig's Root Batter Saver - Lollipop Supported!

So i got installing all the battery saver apps, greenify etc... they all close apps and not much else, my version comes from the mind of an electronics engineer view point...
hardware drains power NOT some little app running in the background! (Purely software programmer logic... )
So my app grabs what states wifi/gps/bt/modem at the time the screen goes off...
When the screen comes on, it re enables them! Eg go bed with 95% wake up with 94% put in your pocket it just does it...
The 2nd feature is the lost/stolen phone feature while the app itself can not get your gps data (no permissions for it) it can switch gps on/off...
So you send "on" without the surrounding quotes, the app will then switch on gps/wifi/modem/bt... it then disables itself
Now you can use wheres my droid or any other location finding app to easily pinpoint your lost or stolen phone (try getting a location with gps/agps/data disabled which people often do to save power!)
(Includes option to keep wifi/gps untouched from the app)
as for ads!... the ui has 1 ad, no popups or notifications ... and when activated the activity with the ad on is destroyed and can't touch battery life ... at all
Craig's Root Battery Saver!
https://play.google.com/store/apps/details?id=saver.battery.craigs.craigsbatterysaver
Well done
Holy crap! Someone replied (first for me here lol)
Thanks!
To be honest, your app is great when it comes to save battery, but in my opinion your approach is plain wrong in terms of the main purpose of a smartphone - receiving notifications in a timely manner, not when you turn on the screen manually. The same purpose can be achieved by using DS Battery Saver, which will in addition turn on mobile data once per specific time interval to receive push notifications.
And you should reconsider your opinion about "software does not drain battery but hardware does". Check this great thread for example. I am using a combination of different apps (Greenify, Amplify, Power Nap) to tame aggressive services/alarms/wakelocks and I am able to achieve a battery drain close to 0.0% per hour while screen is turned off with WiFi, mobile data and location turned on the whole time without losing instant notifications.
The app supports wake up notifications (well, will... the app's not quite finished yet, been too busy to get everything finished)
If you had gone to the playstore you'd have seen
Also you might want to reconsider what i said..... hardware drains it not software!
You refer to wake locks ... well believe it or not, wake locks turn on hardware which drains the battery, i program microcontrollers with the esp8266 / bluetooth / compass / etc ...
Software can only drain the battery if it's purposely trying to max out the cpu, and if it did you'd know it's malware... there are wakelock detectors too
Craig Capel said:
The app supports wake up notifications (well, will... the app's not quite finished yet, been too busy to get everything finished)
If you had gone to the playstore you'd have seen
Click to expand...
Click to collapse
I came across this, therefore my reference to DS Battery Saver, that already is capable of exact those things. Nevertheless, your app is doing what it was designed for - saving battery (and this is pretty good, indeed).
Craig Capel said:
Also you might want to reconsider what i said..... hardware drains it not software!
You refer to wake locks ... well believe it or not, wake locks turn on hardware which drains the battery, i program microcontrollers with the esp8266 / bluetooth / compass / etc ...
Software can only drain the battery if it's purposely trying to max out the cpu, and if it did you'd know it's malware... there are wakelock detectors too
Click to expand...
Click to collapse
Well, I am familiar with what wakelocks are. But without software, that produces a wakelock, there would be no noticable drain, right? Thus we can go round and round here, I guess. From my point of view the most battery drain on an Android device is the result of poorly programmed software (which results in an unneccessary wakelock) and alarms waking up your device, not from ****ty hardware. You can hunt down those wakelocks/alarms by using apps like Better Battery Stats or Wakelock Detector and reduce them to a minimum without losing functionality. Therefore I consider this as a better approach.
But without software, that produces a wakelock, there would be no noticable drain, right? Thus we can go round and round here, I guess. From my point of view the most battery drain on an Android device is the result of poorly programmed software
Click to expand...
Click to collapse
Unless the software drains it by intensive cpu work, anything else has to be hardware, if i power a gps module, talk to it via uart to enable/disable it... then it's hardware doing it not software..
Take Qualcomm, the newer cpus support an embedded DSP
https://gigaom.com/2014/12/12/5-things-to-expect-from-qualcomms-flagship-mobile-chip-in-2015/
Qualcomm*made that feature possible*in the Snapdragon 800*with its DSP, and they’re pushing hot words even farther. New devices will have the ability to passively listen, using only a small amount of power, for more than just the word “OK.” Qualcomm calls this feature Snapdragon Sense.
The first feature it will enable is a much faster Shazam search. So if you find yourself too slow on the draw when trying to identify unfamiliar music, you’ll love this: When you boot up Shazam, it’ll already have been listening just a little bit, so it can identify the song in a few seconds.
Click to expand...
Click to collapse
As hardware gets smaller and uses less power, then things like the embedded dsp chip will allow you to use wakelocks without little drainage, but were no where near that yet...
think of it like this... software simply carries instructions which can turn on hardware via a field effect transistor, that binary 1 value shows up as 3v logic and the fet begins to conduct between the drain and source, this sets a flip flop and the hardware starts wasting power...
Or to put it another way after the software enables the hardware via a gpio the software stops, or better still, show me software draining the battery with all hardware services disabled... it can't
Good
Does it really work ..
Don't you believe the title? (Really works!)
Craig Capel said:
As hardware gets smaller and uses less power, then things like the embedded dsp chip will allow you to use wakelocks without little drainage, but were no where near that yet...
Click to expand...
Click to collapse
True words. I can also see your other points and do agree with them. But as you said, we are not even close to a system where wakelocks do not drain as much as they currently do. Would we have such a system, your app wouldn't be required, I guess. Therefore taming the unneccessary wakelocks is a good way to achieve a great battery life without losing functionality for the moment.
Awesome
Awesome!!!
Can't open the settings and this sound makes me rly angry lol. Why it makes this sound? (even my phone is silence)
Gesendet von meinem ONE A2001 mit Tapatalk
There are no settings... work in progress (says so in the play store readme)
I've had the flu for the past week so i've not been developing much... expect updates shortly to remove the "settings" option which annoyingly is placed there by default... i never put it there
The sound is cool no? ... it plays a low volume sound to indicate the app is working!
Alright, update includes support for android 4.1 for gps now... i'm slowly working my way through android oddities and different techniques to switch hardware / on and off and with 5 phones to use 4 of them use kitkat!
Had to stop for a break i've had the flu all week, throwing up constantly, later on i'll add the finishing touches to wake up notifications as right now it's extreme power saving mode...
Stay tuned.... oh and i found a bug supporting lollipop, fixed that too, so if you have lollipop and it never worked, it should now ...
Antibiotics did the trick! It was sadly not the flu but some rare bug...
I've almost finished the autowakeup every x minutes 5, 10, 20 min intervals..
Unless someone here can think up a value or maybe add it as an option.
.
I removed the blocking side of things prior i used a thread/sleep now i use a timer event this stops the lag when unlocking the device on older models...
nive work :good:
I dumped the smart check (as far as i can tell anroid never fails, so i removed it)
It should now be seamless between lock screen and the main screen without any more lock up due to the threading...
Enjoy!
great!! will try it. thanks!

Categories

Resources