Turning off LED button back lights - Streak 5 Android Development

Hello,
Anyone have an idea of how to simply turn off LED button back lights?
It seems it could be done as there is already at least one app that uses them for notification.
Here is what I am trying to do:
I've downloaded a desktop alarm clock app that turns the screen back light WAY down so it is not disruptive in a completely dark room while sleeping. But, the buttons remain illuminated.
Basically 8 want to use tasker to launch those clock and turn off the button back lights if the phone is charging and the time is after a certain hour.
I am thinking I could fire off a script with tasked to do thwarting back lights portion of this as well, but I don't even know where to begin.
Any ideas? Thanks!
Sent from my Dell Streak using XDA App

I'm rooted, and use an app called AdjBrightness. Works wonders, and also via menu, you can totally turn off the LED lights.
Hope that helps.

Cool, I will check it out. Ideally I would like to do it automatically, without having to open another app, but this tells me it ostensibly at least doable.
Thanks!
Sent from my Dell Streak using XDA App

If you want the code, just do this from adb or from your phone's terminal.
echo "0" > /sys/class/leds/button-backlight/brightness

Thanks! I think that is getting pretty close to what I need. Any idea if/how this could be written or saved as a SL4A script that could be fired off with tasker?
Also, I'd need to configure an exit task as well for morning, so I will need to know how to set all the buttons back to normal.
I know this is kinda minor, but I am excited about it nonetheless. Looking forward to having a nice, super dim clock to check the time late at night.
Thanks again!
Sent from my Dell Streak using XDA App

Spleisher said:
Thanks! I think that is getting pretty close to what I need. Any idea if/how this could be written or saved as a SL4A script that could be fired off with tasker?
Also, I'd need to configure an exit task as well for morning, so I will need to know how to set all the buttons back to normal.
I know this is kinda minor, but I am excited about it nonetheless. Looking forward to having a nice, super dim clock to check the time late at night.
Thanks again!
Sent from my Dell Streak using XDA App
Click to expand...
Click to collapse
You could always leave your computer on overnight and make a macro that executes the adb command to dim the leds and then executes another that makes them bright again at a certain time.
There must be something similar you can do on the phone though.

Thanks for the thoughts Meltus.
Well, I did it! I actually created a solution that is, at least to me, the first thing I have done that might actually be worth it to others and might be worth sharing.
I'll post this in more detail in the Apps/Themes forum as I am not sure it belongs here, but the short version is that you can use a plug-in called "Locale Execute" that allows you run SU commands in Tasker.
So, I created a profile in Tasker so that when the phone is plugged in to AC power between certain hours (I may add some other contexts to tweak it, like maybe say it has to be in landscape orientation), it launches my desk clock app, turns the screen down to the very lowest setting (not the "low" setting allowed at the user level), and turns the button lights off using the command you gave me.
Then, when the AC power is pulled, It automatically goes to my default home screen, returns the screen brightness to normal, and turns the button back-lights back on.
It really is pretty cool!

Spleisher said:
Thanks for the thoughts Meltus.
Well, I did it! I actually created a solution that is, at least to me, the first thing I have done that might actually be worth it to others and might be worth sharing.
I'll post this in more detail in the Apps/Themes forum as I am not sure it belongs here, but the short version is that you can use a plug-in called "Locale Execute" that allows you run SU commands in Tasker.
So, I created a profile in Tasker so that when the phone is plugged in to AC power between certain hours (I may add some other contexts to tweak it, like maybe say it has to be in landscape orientation), it launches my desk clock app, turns the screen down to the very lowest setting (not the "low" setting allowed at the user level), and turns the button lights off using the command you gave me.
Then, when the AC power is pulled, It automatically goes to my default home screen, returns the screen brightness to normal, and turns the button back-lights back on.
It really is pretty cool!
Click to expand...
Click to collapse
Good job, sounds pretty cool
I'm sure many people will find this useful!

Does the louder volume app work with the streak?

SeanH said:
Does the louder volume app work with the streak?
Click to expand...
Click to collapse
No i'm afraid it doesn't. Also, send me a pm next time rather than ask in someone else's thread

I did turne off button's back-light by adjusting the context of "/sys/class/leds/button-backlight/brightness" file from 255 to 0, it works great, but it gets back to normal after phone restart, I even went to properties of the file and removed all the "write" rights, but it won't give in.

Related

[UPDATE: 16th Mar] Notification LED v2.0.1 - FREE version uploaded on the Market!!

I've put this in the Development section because whilst it is almost fully functional, it still needs a lot of development. Please be aware of this when you download it. I am not to be held responsible for anything that may happen as a result of running this app.
Requirements:
Root Access & a Custom ROM (StreakDroid 1.8.0 recommended (CONFIRMED WORKING ON 1.8.0))
Built under a 2.2 framework. If you are running anything pre-2.2 please be aware it may not work.
Please remember to remove all previous versions of the app before installing.
Simply open the app and press the "Menu" button. I hope you can figure the rest out! Enjoy!
"LED Notification FREE" has been uploaded in the Market. It has full functionality and it Ad Supported.
Please be aware that this version includes an "AdBlocker Check". This will block the app from opening if you have an adblocker installed on your phone. Sorry about this but i hate adblockers Alternatively, you can just remove all instances of Admob from your Hosts file.
Code:
[I][B][COLOR="blue"]QUICK HANDCENT FIX[/COLOR][/B]:
Open Handcent, press 'Menu > Settings > Notification settings > Popup settings'.
[B]MAKE SURE[/B] 'Screen on for popup' is [B]UNCHECKED[/B].
Handcent wont interfere with my app from then on :D[/I]
NEW TO 2.0.1
Asks for SU Access when the app first loads Fixes some weird error that happens every now and again.
Completely re-coded the SMS receiver. Much smoother now!
SMS and Gmail Notifications can be turned on or off
New settings page - done properly now, wont save anything to sdcard [you can delete your STREAKLED folder now!] Press the 'menu' button when you open the app for settings.
Permissions tweaked (should be less LED problems)
KNOWN BUGS
Changing orientation during the pattern causes problems. Just don't do it!
Notifications overwrite each other. So if an SMS message arrives and then a Gmail, only the Menu button will be lit, and vice versa.
Services cannot be stopped (only by uninstalling) FIXED - 2.0
Sometimes all the buttons will end up being lit, not sure why. [SHOULD BE FIXED]
TODO
Add options for turning the SMS and Gmail notifications on and off DONE - 2.0
Have different patterns for each DONE - 1.3
Improve the UI (sort of) DONE - 2.0
Improve the pattern flashing sequence (sort of) DONE - 2.0
Clean up the code (WIP )DONE - 2.0
Fix orientation issue
This will ALWAYS be available for free on here, on Modaco and on my website (see sig) but i have uploaded a 'donate' version on the Android Market Place priced at £1.50, just incase you fancy buying me a beer
Enjoy
Meltus said:
I've put this in the Development section because it is not fully functional and still needs a lot of development. This is basically a proof of concept app.
Requirements: Root Access (tested on 2.1 but build under a 1.6 framework so it should work on 1.6)
All you have to do is run the application, hit the home button and receive a text (or send yourself one). If your phone is locked it will wake up and dim the screen and flash the home/menu/back LEDs in a nice pattern and then keep the screen dimmed until you unlock the phone manually.
The only problem is that you will receive a Force Close error message and you will then have the re-open the app for it to work again. I am trying to fix this but will not be able to look into it for a few days so i thought i would release what i've done so far.
I will be adding settings and more patterns as soon as i can fix this FC error.
Enjoy
Click to expand...
Click to collapse
Well... GREAT!!! Thanks! It works... Was searching this kind of app for weeks. Thanks again!
Great little app. Can't wait for thenext update
Nice work.
Just out of interest though, what's the dangers of having the screen on dim all night if I get a text message at stupid o'clock?
Wouldn't want to burn anything on my screen if that is possible.
Amdathlonuk said:
Nice work.
Just out of interest though, what's the dangers of having the screen on dim all night if I get a text message at stupid o'clock?
Wouldn't want to burn anything on my screen if that is possible.
Click to expand...
Click to collapse
Screen burn is an issue on LCD screens, hence why i set it to do a dim wake lock instead of a full brightness one. Saying that, i have absolutely no idea whether screen burn would still occur but ill test it tonight and report back
On a positive note i have fixed the FC error and will release the fully working version tomorrow!!
Nice work dude ! Look forward to a full release tomorrow.
Any way to make this compatible with non rooted steaks on 1.6?
Sent from my Dell Streak using XDA App
jdmnash said:
Any way to make this compatible with non rooted steaks on 1.6?
Sent from my Dell Streak using XDA App
Click to expand...
Click to collapse
No, i'm afraid not.
Without Root Access it will probably just force close.
Currently in the process of adding more LED patterns
It also now wakes the phone, unlocks the phone and displays an "SMS Message Received" popup which it then hangs at until you close it.
Do you guys think this is better or should I make it lock the screen instead?
What else should i add/change?
Meltus said:
Do you guys think this is better or should I make it lock the screen instead?
What else should i add/change?
Click to expand...
Click to collapse
I'd prefer it stayed locked, also if I read this thread correctly, it leaves the screen on (but dimmed?) is that true? I would need it to kill the screen, because as noted, it could kill your battery if you went a long time w/o clearing the alert.
Nice work so far though...
a042349 said:
I'd prefer it stayed locked, also if I read this thread correctly, it leaves the screen on (but dimmed?) is that true? I would need it to kill the screen, because as noted, it could kill your battery if you went a long time w/o clearing the alert.
Nice work so far though...
Click to expand...
Click to collapse
Yeah, that's the only problem.
unfortunately, killing the screen freezes the LEDs in whatever state they're in, completely defying the point of the app
What i could do though, is wake up the screen, flash the LEDs but leave one on and turn the screen back off. This would turn everything off apart from that 1 LED and you could use different LEDs for different notifications. I'll try that out later.
Yeah, that seems like a good idea. Maybe the Back LED for missed SMS, the Menu LED for missed call. Something like that.
That would be cool, I'll await your work and give it a try.
Well, it turns out that works miles better than what i was trying before.
Basically, it now turns the screen on, keeps it locked, flashes the LEDs, turns the screen back off and leaves the home LED on.
Give me about 10 mins and i'll put up a working version. No FC error this time
Can't wait for this!
Sent from my Dell Streak using XDA App
First post updated with a working version
None of the options work on the main screen yet, but they will.
Enjoy
I haven't tried this yet, but I just want to say THANKS! No notification light was driving me crazy! I'm gonna install it now. I like that it would kill the screen but leave the LED light on. That's perfect!
**EDIT**
Well, it didn't work perfectly. Here's what happened on my Beta Streak....
With locking disabled (I use the 'NO LOCK' widget), it turned the screen on and said 'SMS received' and the home LED was on, for about 1-2 minutes, then both went off. When I turned back on the screen and read the msg, the LED went out.
With locking enabled, like most people would be using the app, the screen turned on for a few seconds while the LED pulsed, then both went out. No notification. When I unlock and read the msg, the home LED stays on. I have to 'clear' the app in the notification tray and lock then unlock the screen to make the home LED go out.
Seems like they're little tweaks that could be needed. If you can make this work and be functional, I'll donate to your Paypal! Again, thanks for your work on this project!!
Yeah, it's still pretty much in it's 'Alpha' stage
Cheers, for the feedback, i'll look into the errors.
I know that if the screen is unlocked the Home LED will stay on until you lock/unlock the screen, but that should be an easy fix (hopefully), and i've not set up the Thread's quite right i don't think which could be causing the timing errors.
I'll be spending all of tomorrow getting this thing working so i'll report back
Awesome! You are the man!
A thought for down the road development:
Earlier today when I was thinking about this, I imagined an interface where the user could "record" their own flash sequence for each type of notification they had - email, sms, mms, missed call, etc. Just choose which notification they want to specify, click record, then tap the capacitive buttons in the sequence you want them to light up, then end the recording. Interval timing could be recorded or specified manually. Just a few ideas!
Thanks so much for this. I'll give it a run soon.
Awesome work. Wanted something like this. I hope you will be able to add notifications for misssed calls and gmail as well. Keeping my fingers crossed.

Notification Light - How to use tasker and keep it blinking!

I think I have figured out a setup for tasker to make the notification light blink longer than 5 minutes. The setup that is currently working for me is to use tasker with the Locale Execute Plug-in. I followed DomSim's guide to get Locale Execute to handle LED blinking. You can setup solid/blinking lights using that guide. I just chose a generic green blinking light for all notifications. I also chose to shut off led notifications under settings-display, though I don't know if it would conflict in any way.
In tasker,
1) Create new profile
2) First context - choose Event, UI, Notification, Done
3) Task Selection - choose New Task, click +, Plugin, Execute, Edit, type lines from DomSim's thread ie
Code:
For green led blink,
@! echo 1 > sys/devices/platform/leds-pm8058/leds/green/blink
4)Click Done and test until it gets root permission (took several times until it happened)
4) click +, Tasker, Wait 5 minutes, Done
5) click +, Tasker, Goto Action, 1, add an if then statement so it only repeats if the notification is not cleared. Done
6) click Done and Apply
So far it's worked to keep my led flashing on notifications for longer than 5 minutes. I'm sure it'll affect battery life some, but I don't know how much. You could make it more complex and have different color (red or green) and solid/flash for different events like missed call, sms, etc. using tasker and replacing Notification in step 2 with whatever you want. Also, Locale Execute Plug-in may not be needed as tasker has the ability to flash the LED as well, but I could not get it to work in the past...but that was before I thought of using an infinite loop. It will save some typing if you don't need Locale Execute Plug-in .
original post
So now that we have root and s-off, is there something that can be changed to make it so the notification light will keep flashing until the notification is dismissed? It shuts off after about 5 minutes as it is now, which defeats its purpose IMO. I've tried using many of the LED controller programs, and none of them work reliably for notifications even with root. I've also tried setting up profiles in tasker to blink the led, but it still shuts off after 5 minutes.
Is this 'feature' in the kernel or some other part of HTC's software? I'd love for a mod/program to make it blink until the notification is dismissed or the battery is dead .
Click to expand...
Click to collapse
I would like that too honestly good idea
Sent from my PG86100-EVO3D-using Tapatalk
I too agree
root + app "tasker"
kthxbye close thread
Tilde88 said:
root + app "tasker"
kthxbye close thread
Click to expand...
Click to collapse
mwalt2 said:
I've also tried setting up profiles in tasker to blink the led, but it still shuts off after 5 minutes.
Is this 'feature' in the kernel or some other part of HTC's software? I'd love for a mod/program to make it blink until the notification is dismissed or the battery is dead .
Click to expand...
Click to collapse
Learn to read, kthxbye.
With tasker are you able to use different colors?
As for notification, someone would have to modify the framework-res I believe.
Tilde88 said:
root + app "tasker"
kthxbye close thread
Click to expand...
Click to collapse
^^^^fail
Sent from my PG86100-EVO3D-using Tapatalk
Nobody has any other ideas? If someone has it working with tasker or any other program, go ahead and post how you did it.
I guess I should title the thread "Get a Photon!" so I could get pages and pages of replies .
I've been using Light Flow, it's the best app I've found so far but I haven't tried a whole lot to be honest. It works pretty decent, though like you said not 100% reliable. You can also adjust the vibrate rate/pattern which I love.
I've come from a Blackberry, the notification LED on those are very big, very bright and multiple color selections, where the EVO 3D has 3, green, red and a deep orange. I've missed many a different notifications on my EVO 3D, specially text messages. I'll walk out of the room, come back and see no blinking light, then check my phone like 30 minutes later and notice I had a text message sitting for 30+ minutes without even knowing.
Not only is shutting the light off after 5 minutes a terrible idea, like you said pretty much defeats the purpose but the notifications not showing while charging due to the light staying constantly red is a terrible design decision if you ask me.
Updated the OP with some tasker settings that seem to be working (so far).
A total noob with Tasker here, what exactly do I put for the IF statement in step 5?
Thanks
gsgflash said:
A total noob with Tasker here, what exactly do I put for the IF statement in step 5?
Thanks
Click to expand...
Click to collapse
I actually never could get tasker to work right. I got it to keep the LED on until dismissed, but the loop caused the phone to never go to sleep and ate through battery faster. If your interested, I've implemented a fix at the kernel level (thanks to joe85) for 2.3.4 Sense ROMs. You can find the thread here. It's been the only reliable fix for me.
mwalt2 said:
I actually never could get tasker to work right. I got it to keep the LED on until dismissed, but the loop caused the phone to never go to sleep and ate through battery faster. If your interested, I've implemented a fix at the kernel level (thanks to joe85) for 2.3.4 Sense ROMs. You can find the thread here. It's been the only reliable fix for me.
Click to expand...
Click to collapse
Thanks for letting me know, will take a look at the link

Nightstand Dock

Hi Everyone,
I'm looking for a nightstand dock that will put my phone into an "alarm clock" mode. I had one back for my original Motorola Milestone (aka original Droid).
I really liked it because it worked with an included App that brought up a dimly lit clock with big text for use an alarm clock.
Does such a critter exist for the Amaze?
IndustryCanada said:
Hi Everyone,
I'm looking for a nightstand dock that will put my phone into an "alarm clock" mode. I had one back for my original Motorola Milestone (aka original Droid).
I really liked it because it worked with an included App that brought up a dimly lit clock with big text for use an alarm clock.
Does such a critter exist for the Amaze?
Click to expand...
Click to collapse
Here is a thread about it.
http://forum.xda-developers.com/showthread.php?p=19978638#post19978638
The first post has pictures and a few posts down has a 30% coupon.
Hope this helps.
Thanks for the reply, anyone know if this automatically puts the phone in a dock mode where the screen is always on at a customized brightness level like the Motorola Milestone/Droid?
IndustryCanada said:
Thanks for the reply, anyone know if this automatically puts the phone in a dock mode where the screen is always on at a customized brightness level like the Motorola Milestone/Droid?
Click to expand...
Click to collapse
It does automatically put it in dock mode. The screen is always on and the brightness level does automatically adjust. You can also have it set to dim after a set amount of time. Unfortunately I noticed a drawback. There is an existing issue with the amount of screenbleed from the soft key (home button, menu, return and search) buttons. When the screen dims you can definitely see the light of those buttons blending (or bleeding) into the screen. It's terrible in this mode! On top of that most people that would use this as an alarm clock will find the soft keys annoying because they light up like a freaking night light in dark conditions. So if it's 2am and your trying to sleep then the four buttons will remain lit all night long. Very annoying. I'm hoping HTC fixes all of that in the near future because it was my first impression and it was a real disappointment.
I was looking for this, awesome!
Binary100100 said:
It does automatically put it in dock mode. The screen is always on and the brightness level does automatically adjust. You can also have it set to dim after a set amount of time. Unfortunately I noticed a drawback. There is an existing issue with the amount of screenbleed from the soft key (home button, menu, return and search) buttons. When the screen dims you can definitely see the light of those buttons blending (or bleeding) into the screen. It's terrible in this mode! On top of that most people that would use this as an alarm clock will find the soft keys annoying because they light up like a freaking night light in dark conditions. So if it's 2am and your trying to sleep then the four buttons will remain lit all night long. Very annoying. I'm hoping HTC fixes all of that in the near future because it was my first impression and it was a real disappointment.
Click to expand...
Click to collapse
Is there anyway you'd be willing to purchase and sell me an OEM Amaze dock via Paypal and the XDA Marketplace forum?
Willieumm said:
Is there anyway you'd be willing to purchase and sell me an OEM Amaze dock via Paypal and the XDA Marketplace forum?
Click to expand...
Click to collapse
I'm having issues with my Paypal account due to a fraud case. When it is resolved I will consider doing this. I wouldn't hold your breath though b/c it's been an open case for a few weeks now. I hate Paypal.
Binary100100 said:
I'm having issues with my Paypal account due to a fraud case. When it is resolved I will consider doing this. I wouldn't hold your breath though b/c it's been an open case for a few weeks now. I hate Paypal.
Click to expand...
Click to collapse
off topic but guess what binary... paypal refunded by using my bank account instead of my paypal account AGAIN, they must be stupid or something. I can't believe they're gonna make me go through a second nsf fee. And they're trying to classify me as a business for selling stuff on ebay... they're personal stuff! trying to squeeze more money from me with fees. Sorry for the rant but we should really quit paypal lol.
edit: i was suppose to ask, does screen filter, where you turn off the softkeys, work with the dock?
Teo032 said:
off topic but guess what binary... paypal refunded by using my bank account instead of my paypal account AGAIN, they must be stupid or something. I can't believe they're gonna make me go through a second nsf fee. And they're trying to classify me as a business for selling stuff on ebay... they're personal stuff! trying to squeeze more money from me with fees. Sorry for the rant but we should really quit paypal lol.
edit: i was suppose to ask, does screen filter, where you turn off the softkeys, work with the dock?
Click to expand...
Click to collapse
Yes if you don't mind the extra step.
I wish there was a way to schedule the app to disable the softkeys.
Even better, I wish there was a way to get it through HTC's thick head that we don't need the softkeys while the phone is docked.
The way is tasker. But it is not free. I use it for sync, soft key light, ......
Turn off soft key when I dock, run an app, make beacon, call my wife, send a message to binary100100...
heyodee said:
The way is tasker. But it is not free. I use it for sync, soft key light, ......
Turn off soft key when I dock, run an app, make beacon, call my wife, send a message to binary100100...
Click to expand...
Click to collapse
I just bought it.
What do you use to disable soft key light?
It's a bit confusing.
Binary100100 said:
I just bought it.
What do you use to disable soft key light?
It's a bit confusing.
Click to expand...
Click to collapse
Install Secure Settings from market. It is a plugin for tasker
I suppose you know some *nix....
command is
chmod 0644 /sys/class/leds/button-backlight/brightness
echo 1 > /sys/class/leds/button-backlight/brightness
sleep 10
echo 0 > /sys/class/leds/button-backlight/brightness
chmod 0444 /sys/class/leds/button-backlight/brightness
heyodee said:
Install Secure Settings from market. It is a plugin for tasker
I suppose you know some *nix....
command is
chmod 0644 /sys/class/leds/button-backlight/brightness
echo 1 > /sys/class/leds/button-backlight/brightness
sleep 10
echo 0 > /sys/class/leds/button-backlight/brightness
chmod 0444 /sys/class/leds/button-backlight/brightness
Click to expand...
Click to collapse
Well that's slightly different than what I was able to figure out but I got it to work.
I set the state as dock mode with echo 0 and inverted the state and changed the value to echo 1. I just wish there was an easier way to set all of that.
Binary100100 said:
Well that's slightly different than what I was able to figure out but I got it to work.
I set the state as dock mode with echo 0 and inverted the state and changed the value to echo 1. I just wish there was an easier way to set all of that.
Click to expand...
Click to collapse
This is pretty at the least
If i dock my phone; then
tasker turn of softkey light using commands executed from the secure settings plugin
fi
Binary100100 said:
Even better, I wish there was a way to get it through HTC's thick head that we don't need the softkeys while the phone is docked.
Click to expand...
Click to collapse
I don't think we need them at all. The only time i would like to see them come on is when the screen is off and a message comes through and then maybe the keys could blink fast.. go off automatically when you power the screen on.
Beyond my capabilities but i hope someone can write an app for it.
is there anyway this can be embedded in a rom?
this seems like too much to do for something really simple
AndG404 said:
is there anyway this can be embedded in a rom?
this seems like too much to do for something really simple
Click to expand...
Click to collapse
As long as the paid app isn't included in with the rom.

CM9 - Possible to change Touchstone Charge Behaviour

Hi all,
When I charge my HP TP running CM9 nightly, a clock screen is displayed automatically. I note that after my screen time out period of five minutes, the screen does power off, however when I wake up in the morning the screen is on displaying the clock screen - I guess email or some other notifications turn the screen back on.
Basically, can I change the behaviour so that when I put the TP onto the Touchstone, nothing special happens and this clock isn't displayed? I have an app that switches the screen off when the case is closed, and essentially this charging behaviour is interfering with this. I don't want the TP clock blazing away lighting the screen up all night.
Thanks,
Andy
Wow some refuse to do any work on their own....
If you want to shut the screen down all you have to do is hit the power button and the screen shuts down
As far as the Desk Clock app... You simply go into app manager and clear the defaults for it
Sent from my GT-I9100 using Tapatalk 2
Thank you for your reply - unfortunately the option to clear defaults for the clock is greyed out.
cdzo72 said:
Wow some refuse to do any work on their own....
Click to expand...
Click to collapse
I'm puzzled by your sarcasm - no, I can't figure this out by myself as I can't identify the configurable part of android that triggers this clock front end. I had Googled it but I can't find a suitable answer there either. Whilst I can shut the screen off with the power button, as per my original post when I wake up in the morning the screen has come back on.
Cheers!
Andysan said:
Thank you for your reply - unfortunately the option to clear defaults for the clock is greyed out.
I'm puzzled by your sarcasm - no, I can't figure this out by myself as I can't identify the configurable part of android that triggers this clock front end. I had Googled it but I can't find a suitable answer there either. Whilst I can shut the screen off with the power button, as per my original post when I wake up in the morning the screen has come back on.
Cheers!
Click to expand...
Click to collapse
Then you have something installed waking your TP that we have no way of troubleshooting without some type of log.... when you shut the screen down there is no reason for Android to turn it back on unless YOU have EXPLICITLY given an app YOU installed permission to do so. As far as the clock... when you set the TP on the Touchstone one of two things happens... a dialog box comes up with the apps that can by default be activated when placed on Touchstone OR YOU HAVE designated a default app to do this....
Now if YOU can't remember which app YOU ALLOWED to run then you have one of two choices.... go through all the apps in app manager clearing all defaults OR wipe all data and start from scratch and pay attention to what you press this time
Sent from my cm_tenderloin using Tapatalk 2
0
cdzo72 said:
Then you have something installed waking your TP that we have no way of troubleshooting without some type of log.... when you shut the screen down there is no reason for Android to turn it back on unless YOU have EXPLICITLY given an app YOU installed permission to do so. As far as the clock... when you set the TP on the Touchstone one of two things happens... a dialog box comes up with the apps that can by default be activated when placed on Touchstone OR YOU HAVE designated a default app to do this....
Now if YOU can't remember which app YOU ALLOWED to run then you have one of two choices.... go through all the apps in app manager clearing all defaults OR wipe all data and start from scratch and pay attention to what you press this time
Sent from my cm_tenderloin using Tapatalk 2
Click to expand...
Click to collapse
Thank you for your reply, but unfortunately you are wrong.
I only have the clock app installed that triggers when the device docks - no other apps respond to this event, therefore when I dock the device I don't get presented with the option/choice, it just displays the clock as there is no alternative. I've found the best solution to be to install 'Screen Off ' from the market. This has an option to act on the dock event, and now when I put the device on the dock I get given the choice as to whether to show the clock or to power off the screen. This works pretty much perfectly, and without the clock showing the screen stays off, instead of coming back on randomly after I shut it off - therefore, I don't think that the clock was coming back on before due to notifications from apps/emails, but be cause the clock app itself was triggering - possibly when the device reaches full charge or something and temporarily disconnects from the dock or something, I don't know. In summary, you need more than one app installed that is coded to respond to the dock event, otherwise when you dock the device android just defaults to the dock event and powers the screen back on periodically. I have never explicitly enabled this behaviour, and without installing another app it seemingly cannot be changed or disabled.
I thank you for taking the time to reply to my post, but I think you should learn something from this thread - just because a problem may seem to be user error doesn't necessarily mean that it is - your post is completely wrong which is fine as I appreciate that you are just trying to help, but by getting all aggressive over it you've just ended up looking a little stupid. The forums should be all about helping people, not ridiculing them - hopefully this post will serve to help anyone out with a similar predicament.
Cheers.
Ignore cdzo72 - he's one of the most sarcastic members of this forum. He seems to have a hate on for anyone who has an issue with anything, and can't solve it for themselves. You get used to him, and ignoring him.
I'm glad you found your solution.
Thanks for posting that man, beginning to think it was just me. Guess every forum has one - hopefully if anyone else comes across this thread it might solve their problem too.
Andysan said:
Thanks for posting that man, beginning to think it was just me. Guess every forum has one - hopefully if anyone else comes across this thread it might solve their problem too.
Click to expand...
Click to collapse
Yeah maybe they'll miraculously use the much talked about but seldom known to noobs SEARCH fumction
Sent from my cm_tenderloin using Tapatalk 2
cdzo72 said:
Yeah maybe they'll miraculously use the much talked about but seldom known to noobs SEARCH fumction
Sent from my cm_tenderloin using Tapatalk 2
Click to expand...
Click to collapse
Er...dude, if your implying i didnt use the search beore psting then please show me where the pre-existing thread with my issue and resolution clearly described is. If not, well I'm not gonna sit up and play forum wars with you all night, I've got work in the morning.
Saw this post and was excited as I was looking for this same thing. Too bad someone had to ruin this post. Is it just the touchpad forum? Don't seem to encounter this on the other xda forums.
Sent from my Galaxy Nexus using xda premium
Andysan said:
Thank you for your reply - unfortunately the option to clear defaults for the clock is greyed out.
I'm puzzled by your sarcasm - no, I can't figure this out by myself as I can't identify the configurable part of android that triggers this clock front end. I had Googled it but I can't find a suitable answer there either. Whilst I can shut the screen off with the power button, as per my original post when I wake up in the morning the screen has come back on.
Cheers!
Click to expand...
Click to collapse
The clock app doesn't trigger itself. Mine charges all night and never turns back on. That said, it is almost impossible to move the pad while it's on the TS without charge disconnecting and reconnecting. And that will trigger the clock app. So, if you have the TS on an unstable surface that allows ir to be inadvertently "jiggled", that could cause the clock to turn back on.
T-Keith said:
Saw this post and was excited as I was looking for this same thing. Too bad someone had to ruin this post. Is it just the touchpad forum? Don't seem to encounter this on the other xda forums.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Hey Man,
I don't know if it affects other devices to be honest. On my phone the clock app is configurable, but on my Cyanogenmod9 HP TP tablet it isn't something that you can change the behaviour of (if you tap the stock 'Clock' app it just locks the screen and displays a clock, you cant set any options like on my SGSII). I don't know if this is a feature of tablet OS'es in general, or just the CM iteration of Ice Cream Sandwich.
Either way, the 'Screen Off' app references working with a number of docks (blurb specifically references Sony ones) so I'd give it a shot and hopefully it will work for you.
I had that problem too, it was very annoying. I installed dock no op from the market and it finally stopped waking me up. That seems like the only option since cm9 doesn't let you set the dock behavior.

waking up after sleep.

Hi all, apologies if this has been answered else where.
Currently running a Lenovo S20-30 Win 10 dual boot with the latest Beta release. Surprisingly really enjoying it. The only real issue I am having is it waking after it goes to sleep. Mouse and cursor frozen and wont fully wake unless a reboot.
Is anyone else having similar issues and have a possible solution?
Thanks and appreciate the help.
Sent from my 20421 using Tapatalk
Yes and no solution as off now..
Sent from my SM-N920T using Tapatalk
My lenovo T500 reboots when it goes to sleep under Remix. My current "fix" is running a "stay alive" app I purchased for $2 (the free ones had too many ads or not enough functionality) that will dim the screen but not let it sleep if it has wall power or a good charge. I am also surprised how much I am enjoying it; the T500 is a screaming machine with Remix. It was barely adequate for web and RDP under Windows. I am getting incredibly good performance in Netflix, TWC TV app, Chrome, Dolphin and Microsoft RDP under Remix.
arbarnhart said:
My lenovo T500 reboots when it goes to sleep under Remix. My current "fix" is running a "stay alive" app I purchased for $2 (the free ones had too many ads or not enough functionality) that will dim the screen but not let it sleep if it has wall power or a good charge. I am also surprised how much I am enjoying it; the T500 is a screaming machine with Remix. It was barely adequate for web and RDP under Windows. I am getting incredibly good performance in Netflix, TWC TV app, Chrome, Dolphin and Microsoft RDP under Remix.
Click to expand...
Click to collapse
Can you share link to app?..
egren58 said:
Can you share link to app?..
Click to expand...
Click to collapse
To prevent spam on the XDA forums, ALL new users prevented from posting outside links in their messages. After approximately 10 posts, you will be able to post outside links. Thank you for understanding!
so...
details?id=com.synetics.stay.alive
you have to figure out the rest.
I made sure it worked at least somewhat before contributing to get the additional features. I am really hopeful that a later beta or some other app will give me more control. My notebook has a screen off mode that is better than just dimming but isn't sleep. I wish I could get it to use that. The dimming that the Stay Alive app does was enough that the screen would not keep me up at night but there is enough of a glow to know it is on. But it makes Remix more usable now.
I had this issue too. I noticed if you tap the power button once, the screen comes back on but the mouse won't still work sometimes. If you just tap the power button a 2nd time after the screens on, it would start working again. But I did have trouble w/ wifi coming back on after sleep. I had to toggle it off/on. Let me know if the double tap of the power button fixes it for you too?
BTW, I just added another little app - LockScreen (a free one). That way I can easily lock the screen if I walk away for a few minutes, have it dim but not sleep and reboot.
Tapping the power button again works for me to.
Tap, double tap not working here. Shame. Hopefully a fix soon.
Sent from my 20421 using Tapatalk
Another update on my sleep issue and workaround...
I don't know how things changed; I may have tripped a setting or something but using the LockScreen app was putting it to sleep and triggering the reboot instead of giving the Stay Alive app a chance to catch it, so I quit using the LockScreen and just let it time out and then the Stay Alive app would dim the screen and keep it from timing out. So no reboot, but unfortunately no lock screen; I wanted it to lock. Poked around some more and found an app listed as Hidden Settings for Galaxy but it isn't really Galaxy specific. One of the the things it does is let you set up and enable Daydream mode. It turns out Daydream doesn't work properly on Remix, but it fails in a good way. If you select the clock (or anything else, but stay away from full screen stuff as sometimes that will stay in the way for several seconds) and set it for both docked and charging, then when the screen timeout is reached the clock will show for a couple of seconds and then it will go to the lock screen (assuming you enabled, I guess), not go to sleep and Stay Alive dims the screen. Clunky and convoluted, but it ends up doing exactly what I wanted.
ETA - One other little nit - After it dims on the lock screen, focus is set to the text box and you just have to start typing the password to get the screen to brighten and unlock. Clicking does not cause the screen to brighten, which worried me at first (thought it was hung).
arbarnhart said:
My lenovo T500 reboots when it goes to sleep under Remix. My current "fix" is running a "stay alive" app I purchased for $2 (the free ones had too many ads or not enough functionality) that will dim the screen but not let it sleep if it has wall power or a good charge. I am also surprised how much I am enjoying it; the T500 is a screaming machine with Remix. It was barely adequate for web and RDP under Windows. I am getting incredibly good performance in Netflix, TWC TV app, Chrome, Dolphin and Microsoft RDP under Remix.
Click to expand...
Click to collapse
Thanks, Stay Alive works. Be interesting to see what it does to battery life. Hopefully a fix will come.
Sent from my 20421 using Tapatalk
Scooterss said:
Thanks, Stay Alive works. Be interesting to see what it does to battery life. Hopefully a fix will come.
Click to expand...
Click to collapse
Just be careful poking around at settings; I did something to make mine have issues with being locked after I had it working. More tweaks got it okay(ish) again. This is not a good solution for battery use; I don't think there really is one if standby doesn't work. Android/Remix doesn't seem to offer levels of powering off. What I would like to do is power off the screen, spin down the disk but leave the processor and wifi powered.
arbarnhart said:
Just be careful poking around at settings; I did something to make mine have issues with being locked after I had it working. More tweaks got it okay(ish) again. This is not a good solution for battery use; I don't think there really is one if standby doesn't work. Android/Remix doesn't seem to offer levels of powering off. What I would like to do is power off the screen, spin down the disk but leave the processor and wifi powered.
Click to expand...
Click to collapse
Yep going back to sleep again and not waking up properly with SA. Think will give up until a fix.
Sent from my SM-N9005 using Tapatalk
Mine is only doing that now on battery and it is usually on wall power. As I use it on battery so rarely, the simple answer is to just set the screen timeout higher when I do. On an older notebook like mine, a battery gives you freedom to move around the house/office with the machine running and maybe run without plugging in for two or three hours. It's my semi-lightweight UPS.
Anyway, I am not giving up. This is the only thing not working perfectly for me. My camera, mic, bluetooth, mouse and wifi all work fine. I stream videos in Youtube, Netflix, TWC TV, Amazon, FB and browsers with good sound and picture; no lag. I connect to work with Microsoft RDP and have less lag than using RDP in Windows. Yesterday I booted over to Windows to increase the size of my data.img (and had no trouble with that) and that definitely hardened my resolve. It is hard to believe I was putting up with that kind of speed just a few days ago. Now that I know I don't have to it seems worse.
After more research, I am back again with what I think is the final answer. I should and likely will write an app to undo this if my battery gets really low, but all you have to do if you never want your machine to go into sleep mode is press Alt-F1 to get the console and then do something like this:
# echo nosleeptilbrooklyn >/sys/power/wake_lock
And then Alt-F7 to get back. I did that as a test, unplugged from the charger and let it sit about 10 minutes with display timeout at 5 minutes. 5 minutes in the screen went dark. That used to be followed by a reboot about 5 seconds later. It did not reboot. When I woke it, it did initially show the main screen and then blanked it and brought up the password screen. For some reason I had to click before I could type (usually don't have to). Anyway, the above "fix" worked. To undo it, I need to just do this:
# echo nosleeptilbrooklyn >/sys/power/wake_unlock
There is a programmatic interface to do pretty much the same thing but with more options and I am thinking I may write something to use that to set the lock and then check the battery on a timer and unlock if it falls below 20% or some other setting.
EDIT TO ADD - A little more poking around yielded info that pretty much all manufacturers have had battery protection for several years now and will not let the battery run down into the kill zone even if the OS is frozen or even if it actively tries to stay alive. I would still advice checking your BIOS and/or doing some research on your particular system but it is likely safe to just leave it locked if you only want it shut down, hibernate or go into standby when you specifically choose that interactively.
Wake up from sleep using alarm manager is not working in Remix OS
Dear All,
I am working on project where I am able to put PC on sleep using alarm manager with wake lock but it is not waking up.
In remix OS 3.0.206 on intel machine.
Seek some ones support.
just close the lid of laptop if u r using lappy when u r not using lappy it will get locked never goes hangs

Categories

Resources