[APP] Optimus Nano Notification - AT&T LG Optimus G

As many of you have noticed, the notification light on the LGOG is annoyingly slow. In light of this, I sought out a solution. I've tried Light Flow, which worked well enough, but it wasn't quite what I wanted. I thought I was on to something with Tasker (awesome app!) and had something functional. Then I saw the great work from GermainZ here posted by TangoXray here and saw that it was possible to also include using the capacitive button backlights similar to BLN (back in the Samsung Captivate days). After a while of fiddling, I've come up with this Tasker-made app.
I designed it to be straight forward, yet have several options. It's a bit simpler to use than GermainZ's app, but is not as powerful or customize-able since it is designed specifically for the E970 (it may work with other devices, but I doubt it).
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
It requires:
1. Root Root is NO LONGER NEEDED!!!
2. Secure Settings (has a needed plug-in for Tasker and allows the screen to be woken up). The app will prompt for installation of this from the Play Store (it's FREE).
3. Accessibility enabled. The app has a button to quickly access it.
The options are:
1. LED on and off times (in milliseconds) are adjustable. However, it appears the system has a limit to how small of an off time is allowed.
Default: 1000 ms on and 100 ms off​2. Notify duration (in seconds) for how long you want it to work before shutting off after a new notification. This way your lights aren't flashing for too long (this should be a battery saving measure if you suspect you might leave your beautiful phone alone for very long).
Default: 600 s (10 minutes if you needed help with the math )​3. Screen On With Notify. When enabled, the screen will turn on momentarily (roughly 3 seconds) when a new notification arrives. I find this helpful so I can quickly look at the notification bar when the notification arrives without having to touch the phone.
Default: On​4. Button Lights. When enabled, the button backlights will pulse at the rate specified with the LED on/off times.
Default: On​5. LED Light. When enabled, the red notification light around the power button will pulse at the rate specified with the LED on/off times.
Default: On​6. ONN Notification. When enabled, a notification will appear in the dropdown when you receive a new notification. This can be clicked to clear the light flashing, but still keep the message in the notification bar. This can also be set to permanent (until the notification is cleared). This is pretty much only useful if you "swipe" away your notifications. Since I haven't found a way to clear the light flashing from such an action, the lights will continue to flash until you open up one of the supported apps.
Default: On and On​7. Clear On Unlock (Go Locker). When enabled, the ONN notification will clear and cancel the blinking when you unlock your phone. The app's notification that triggered the event will still be in your notifications. Now works with Go Locker (the only 3rd party lockscreen I've tried it with)! I assume that the stock lockscreen and Go Locker trigger in different ways. I hope to get it to work with other lockscreens.
Default: On (Go Locker Off)​8. Clear On Screen On. When enabled the ONN notification will clear and cancel the blinking when the screen turns on. Even if you have the "Screen On With Notify" enabled, it will still keep the notification until you purposefully turn the screen on.
Default: On​9. No Timeout While Charging. When enabled, the ONN notification and blinking will not timeout while your phone is charging. When you unplug, the timeout timer restarts.
Default: On​10. Battery Level Cutoff %. When your battery is below this level, the ONN notification and blinking will cancel and no new notifications will trigger ONN.
Default: 20%​11. Constant LEDs. When enabled, the lights do not blink, but rather stay on. This has the trade-off of not needing the app to use loops (helps with battery), but potentially uses more battery since the light is on more. More testing is needed to see if it hurts.
Default: Off​12. No LED while Charging. Turns off the LED when charging so that the light is only used for notifications. The light will still turn on momentarily when you plug in the charger.
Default: On​
There is also an option to test your settings. You just need to turn your screen off and then when you're done, click "stop". Be aware that the first time you use it, it may behave a little off until you grant root access. After this, it *should* work smoothly.
Right now, I have it set to trigger on notifications from:
Calendar
Email
Gmail
Google Voice
Messaging
Missed calls
Google Talk
Contacts +
K-9 Mail
WhatsApp
Line
To reset the notification, you can do one of the following:
Click on the notification
Click on the ONN notification in the dropdown (if enabled)
"Clear" the notification in the dropdown
Open one of the supported apps (you could open Gmail to clear a text, for instance)
Click the "Stop" button within the app (next to the "test" button)
Using #7 or #8 above
Other recommendations:
Inside the app SuperSU, you can set it to not show a "toast" notification each time. Otherwise, it gets a little annoying seeing "ONN has been granted superuser access" each time.
I have turned off the ONN Notification toggle so I don't get the extra icon in my notification bar (and so the new notification stays visible a little longer instead of the ONN Notification "scrolling" up.
Inside System Settings --> Display --> Notification Flash, turn off the "Use LED light for notifications". I'm not sure it would interfere, but I figure might as well leave it off so it doesn't cause issues.
When updating the app, if you encounter issues, clear the app data.
I will later try to add more features and spruce it up a bit. But for now, I think it's quite functional. Please let me know if there's anything not working or if something should be added. I'm new to app making with Tasker, so it's a bit of a learning experience. I have also attached the Tasker XML that I used to create the app in case anyone wants to use that or improve it.
Changelog:
v1.1
Fixed the Google Talk trigger
Added ability to clear notification by turning on the screen or unlocking the phone
Added no timeout while charging
Added auto-cancel when battery below user-specified value
Spruced up and modified the UI
Added "About" to the UI
v1.2
Fixed Messaging and Email clear (forgot to actually add these originally)
Added Go Locker unlock
Fixed lights getting stuck (prevented the task from disappearing when the screen is off)
Added support for Contacts + and K-9 Mail
v1.3
Added support for Line and WhatsApp
Added constant on for the LEDs toggle (instead of blinking)
-the red power LED will still pulse like it did for charging
Added "No LED while Charging" toggle so the LED is only used for notifications and not for charging.
-the light will still turn on momentarily and then turn off
Improved battery usage (hopefully).
-This *will* still use more battery than if you didn't use it since the lights are on longer than the stock notification interval
v1.3.1
Removed need for root (I no longer use the echo "255" script--instead, I saw that the max brightness for the button backlights is 3, so I could just use the Tasker function).
Two versions--one with the K9 Plugin (you will need to have K9 installed whether you want it or not), the other without the plugin so you don't have to install the app (it's free, so it's not a huge deal IMO). It will still work with notifications sent from the K9 app either way and opening the K9 app will clear notifications.
Made sure it works with Jellybean (thanks to gstar101 for catching the earlier incompatibility)
Bugs:
Still behaves a bit funny at first (specifically after the first install and before root access is granted)
*May* experience higher amounts of battery consumption. Please let me know if this happens (I've been getting roughly 3 or 4% battery usage from ONN).
TODO:
Find a way to get the screen on function to work without Secure Settings
Get 3rd party lockscreens (besides Go Locker) to cancel the notification
Add other apps to trigger ONN?
Eventually, I will release this on Google Play under my developer name "NanoTech". First, I'd like some feedback on what bugs need to be fixed or features that should be added. GENTLE feedback is appreciated!
Special thanks to GermainZ for answering questions about Tasker and putting up with me. Also, thanks to TangoXray for letting us know about ButtonLED in the LGOG forum.

Good job
You could probably make it work without secure settings: try using shell commands to control the screen's backlight. If I'm not mistaken, something like "echo 255 > path" will turn the screen on if it's off (you can then use the user defined variable for brightness, since Tasker can get that).
Good luck!
Edit: Actually, using an intent to turn the screen on should be much easier. I have the habit of over complicating things, lol. Google it if you like, not sure what the syntax is (you can either use the shell or the built in Intent action).

Awesome!
Edit: It works well by the way.

Working pretty well :thumbup:
Love that you incorporated the ability to have both cap buttons and led blink together.
Nice job!
Sent from my LG-E970 using xda app-developers app

Works great, for me it hasn't been killing my battery, and makes the notification light usable. Only thing that slightly bothers me is that the notification light doesn't smoothly pulse, but that's a small price to pay.
Great job.

milkyline said:
Only thing that slightly bothers me is that the notification light doesn't smoothly pulse, but that's a small price to pay.
Click to expand...
Click to collapse
I'm pretty sure setting the red led to anything greater than 0 sets the led to pulse. To get smooth pulses, adjust the on times. I'd start with 3 seconds and adjust from there.
Sent from my LG-E970

Since I use the Diztrinuc case, which blocks the power button, this app is indispensable. Thanks for putting it together! This works great to enable the front button lights as notification lights.
Sent from my LG-E970 using XDA Premium HD app

Thanks, seems to be working quite well! I have a couple of feature requests, but I don't know how feasible they are.
1. Is it possible to light each of the buttons separately, or can they only be controlled as a single unit? It would be nice if we could assign each button to a specific notification. For example, light the "home" button for texts, the "back" button for emails, etc. It would somewhat make up for the fact that our LED is only a single color.
2. Can you add an option that makes unlocking the phone stop the pulsing, regardless of whether or not the notification was checked?
Sent from my LG-E970

hassa9 said:
Thanks, seems to be working quite well! I have a couple of feature requests, but I don't know how feasible they are.
1. Is it possible to light each of the buttons separately, or can they only be controlled as a single unit? It would be nice if we could assign each button to a specific notification. For example, light the "home" button for texts, the "back" button for emails, etc. It would somewhat make up for the fact that our LED is only a single color.
2. Can you add an option that makes unlocking the phone stop the pulsing, regardless of whether or not the notification was checked?
Sent from my LG-E970
Click to expand...
Click to collapse
I'm glad it's working well! Also, no one has told me any bugs, which means that I made it flawless--doubtful--or, any issues are small. Either way, I'm fine .
I had thought about the individual control, but I'm pretty sure they are all connected. So, to my knowledge, that is not possible.
I like your 2nd idea! I'll work that into the next release. I'll probably release something new soon (likely, this weekend) that is a big re-work of the whole thing. I'm trying to add the option to have the notification stay on as long as it is charging (so it won't timeout), as well as have it stop if the battery is below a certain percentage. I've also fixed the Google Talk notification. I haven't been able to find a different way to get the screen to wake up momentarily without the use of Secure Settings. Personally, I don't think it's a big deal, but it's probably preferable to not need to download a second app--even if it is free. I'll bug GermainZ some more to see if he has any ideas for me .

Almost had a bug for you. Figured out it was the permanent on option lol Nice work.
Btw, that wakelock issue that we talked about hasn't reappeared :thumbup:
Sent from my LG-E970 using xda app-developers app

hassa9 said:
Thanks, seems to be working quite well! I have a couple of feature requests, but I don't know how feasible they are.
1. Is it possible to light each of the buttons separately, or can they only be controlled as a single unit? It would be nice if we could assign each button to a specific notification. For example, light the "home" button for texts, the "back" button for emails, etc. It would somewhat make up for the fact that our LED is only a single color.
2. Can you add an option that makes unlocking the phone stop the pulsing, regardless of whether or not the notification was checked?
Sent from my LG-E970
Click to expand...
Click to collapse
#2 a million times over! I;'ve noticed that even accessing my messages after I get a notification will not stop the notification. I have to go into my status bar and click the ONN icon in order for the pulsing to stop. Sometimes, this can go on FOREVER without me knowing it and my battery just decides to crap out.
The program is awesome tho!! Just would like that feature.

I have a feature request. Can you make it where the light does not come on for charging. I keep it plugged in so it keeps pulsing and I always think I have a notification. Thank you
Sent from my LG-E970 using xda app-developers app

mws1986 said:
I have a feature request. Can you make it where the light does not come on for charging. I keep it plugged in so it keeps pulsing and I always think I have a notification. Thank you
Sent from my LG-E970 using xda app-developers app
Click to expand...
Click to collapse
I like that idea as well. I had tried something to get that last week, but couldn't get it to work reliably. I'll definitely keep trying and include it in one of the next releases if/when I figure it out.
Keep the requests coming! I'll do what I can. Although Tasker is awesome, it does take some time making apps on a phone screen.

CapnPez said:
I like that idea as well. I had tried something to get that last week, but couldn't get it to work reliably. I'll definitely keep trying and include it in one of the next releases if/when I figure it out.
Keep the requests coming! I'll do what I can. Although Tasker is awesome, it does take some time making apps on a phone screen.
Click to expand...
Click to collapse
Well do what you can. You have already done more than I could do. This is a great app and I'm looking forward to see where its headed. Thank you
Sent from my LG-E970 using xda app-developers app

Globalrebel said:
#2 a million times over! I;'ve noticed that even accessing my messages after I get a notification will not stop the notification. I have to go into my status bar and click the ONN icon in order for the pulsing to stop. Sometimes, this can go on FOREVER without me knowing it and my battery just decides to crap out.
The program is awesome tho!! Just would like that feature.
Click to expand...
Click to collapse
I'd also like to see this implemented, if possible. Otherwise, I'll keep saying it, this is a very very VERY useful app. Thanks again for the work!

The app seems to be going haywire on my phone. I've re-installed it a few times now. It will work fine for a day then the led doesn't blink when I get a notification and the battery use for ButtonLED jumps up to around 60%. Any ideas?

johnbyebye said:
The app seems to be going haywire on my phone. I've re-installed it a few times now. It will work fine for a day then the led doesn't blink when I get a notification and the battery use for ButtonLED jumps up to around 60%. Any ideas?
Click to expand...
Click to collapse
That's interesting. What settings do you have on the app? Do you have any other Tasker profiles running? Each time you re-install, you'll need to re-enable the Accessibility as well.
On the version I'm working on now, I'm trying a method to reduce battery usage by disabling the profiles that look to see if one of the apps that generate a notification (Gmail, Voice, etc.) is open (and thus clear the notification) when there is no notification. That way, it won't be polling the apps when it doesn't need to. I'm not sure if that will have much of an impact.
However, I haven't ever seen my battery usage jump up that high (usually, it stays below 4% for me--but I usually clear my notifications fairly soon after they come). Are you using my app (ONN) or GermainZ's (ButtonLED)? I would recommend not using both at the same time.

CapnPez said:
That's interesting. What settings do you have on the app? Do you have any other Tasker profiles running? Each time you re-install, you'll need to re-enable the Accessibility as well.
On the version I'm working on now, I'm trying a method to reduce battery usage by disabling the profiles that look to see if one of the apps that generate a notification (Gmail, Voice, etc.) is open (and thus clear the notification) when there is no notification. That way, it won't be polling the apps when it doesn't need to. I'm not sure if that will have much of an impact.
However, I haven't ever seen my battery usage jump up that high (usually, it stays below 4% for me--but I usually clear my notifications fairly soon after they come). Are you using my app (ONN) or GermainZ's (ButtonLED)? I would recommend not using both at the same time.
Click to expand...
Click to collapse
Um...oops. I just realized I posted this in the wrong app thread, haha. I'm using GermainZ's. Apologies. I haven't had my coffee yet. :silly:

johnbyebye said:
Um...oops. I just realized I posted this in the wrong app thread, haha. I'm using GermainZ's. Apologies. I haven't had my coffee yet. :silly:
Click to expand...
Click to collapse
No problem (I'm glad it's not something wrong with my app!). I hope you get it sorted out. However, you could see if using my app makes any difference (although GermainZ is a lot more experienced than I am, so the likelihood of mine working and his not isn't all that great ). Also, did you re-enable Accessibility after your re-installation of his app? I'm pretty sure every time you uninstall something, it clears that and you would need to re-enable when you install it again.

CapnPez said:
No problem (I'm glad it's not something wrong with my app!). I hope you get it sorted out. However, you could see if using my app makes any difference (although GermainZ is a lot more experienced than I am, so the likelihood of mine working and his not isn't all that great ). Also, did you re-enable Accessibility after your re-installation of his app? I'm pretty sure every time you uninstall something, it clears that and you would need to re-enable when you install it again.
Click to expand...
Click to collapse
Thanks. I did enable Accessibility each time. I switched to your app but I'm still having issues. These apps really don't like me, haha. Maybe something is conflicting? I'm not sure. My app settings are attached and here is a video of what happens:
EDIT: I don't have ButtonLED installed at the same time just fyi.
http://youtu.be/sLLcNmVi2RQ
The LED stops blinking and then the duration changes to something else.

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.

How to turn off bln?

I use gv to text at work on the website and so my phone its just sitting there with the bln lights on consuming battery. How do you stop it?
My wand
exzacklyright said:
I use gv to text at work on the website and so my phone its just sitting there with the bln lights on consuming battery. How do you stop it?
My wand
Click to expand...
Click to collapse
Two things:
1) If you are using CM7, it is not possible to turn off BLN as of now, sorry.
2) The BLN lights consume very, very VERY little battery. As in, lets say you got a message as soon as you unplugged your phone and they stayed lit for the whole day - they would use less than 1% of the battery. So don't worry about BLN, it's not as bad as you may think.
skafan2 said:
1) If you are using CM7, it is not possible to turn off BLN as of now, sorry.
Click to expand...
Click to collapse
That statement isn't totally accurate. I am on CM7 and didn't want BLN functioning. To keep them from coming on, you can change your profile settings.
Go into Settings -> Profiles and select the profile you want to change (if you don't use them, just select Default). At the bottom of this next menu, you'll see a section called Application Groups. For every item in this list, you can select it, and then turn Lights Mode to Off. This will stop BLN from lighting up the buttons.
You can call this disabling BLN, or a workaround, or whatever, but it's worked for me.
Zerg The Bear said:
That statement isn't totally accurate. I am on CM7 and didn't want BLN functioning. To keep them from coming on, you can change your profile settings.
Go into Settings -> Profiles and select the profile you want to change (if you don't use them, just select Default). At the bottom of this next menu, you'll see a section called Application Groups. For every item in this list, you can select it, and then turn Lights Mode to Off. This will stop BLN from lighting up the buttons.
You can call this disabling BLN, or a workaround, or whatever, but it's worked for me.
Click to expand...
Click to collapse
Nice, this must be a recent change... I remember there was a whole controversy over it about a week or two ago, and the profiles didn't work at the time. Thanks!
Oh yeah, I should have mentioned I'm running the 7/17 CM7. I didn't use any of the previous versions, so I can't comment as to their functionality.
I hated bln at first, but its really grown on me and now I wouldn't consider a rom without it. And agree with the first reply, basically no battery consumption.
Sent from my GT-P7510 using XDA Premium App
Honestly, I think the problem is with another app running in the background while your screen is off, thus preventing your phone from sleeping. I would recommend the "active apps" app from the market and seeing what you have active at the time.
Another note: if your bln remains on while your screen is off, try opening the notification drawer and clearing your notifications. That works for me (of course, I actually click on the relevant notice usually which also deactivates the bln until the next notice comes in)
Another Fascinating post by my XDA app...

Getting Light Flow to Work

After much trial and error. I finally got Light Flow working on my S3. Here's what I did to get it to work :
Go to Setting > Led Notifications, and Only check Missed Events. Leave the others unchecked.
Make sure you disable all LED notifications in the rest of your apps (WhatsApp, GoSMS, etc); you'll need to let Light Flow handle these notifications. In some circumstances you may need to disable the 'screen on, on notification event' option in these apps to get the Light Flow to work.
In Light Flow, if you want to test the color of your notification, in 'Clear Notification Style' select 'App Entered', then scroll down to 'Test Notification', wait for the Pop-up and press the power button (to turn off your screen). Sometimes you might need to wait about 30 secs for the light to appear. This is just to test the color of your notification, Light Flow will still work with the rest of the Clear Notification Styles.
I'm on root, so the above works for me. It might work for non-rooted phones though.
Also, you may notice that not all colors are supported by the S3. Typically, the distinct colors I got are :
Cyan
Blue
White
Green
Indigo
Lime
Yellow
Orange
I tried the custom colors, but the S3 LED seemed to provide some mesh-ed up mix of colors.
I can't find what you mean by " Setting > Led Notifications".
Is that in the system settings, light flow settings, or individual app settings within light flow?
Mine just worked out of box... No fuss.
joelunch said:
I can't find what you mean by " Setting > Led Notifications".
Is that in the system settings, light flow settings, or individual app settings within light flow?
Click to expand...
Click to collapse
System > Display > LED
You should not have to disable notifications in the apps for lightflow to work.
Because Lightflow registers itself as an accessibility tool, it should override any other notifications.
wow.....
all you need to do, OUT OF THE BOX.
Settings, Accessibilty, ------and heres the kicker...Turn on Light Flow, lol
Not to mention light flow keeps asking you to do this all the time!
Sent from my GT-I9300 using Tapatalk 2
Guys you know that lightflow has a wake lock problem?
Had it installed and it drained my battery like anything, with it installed lucky to get 8 hours of battery, uninstalled i get 2 days.
the2rrell said:
wow.....
all you need to do, OUT OF THE BOX.
Settings, Accessibilty, ------and heres the kicker...Turn on Light Flow, lol
Click to expand...
Click to collapse
It didn't work for me out of the box. Notifications come on but don't turn off, and sometimes come on at random.
mrtoken said:
Guys you know that lightflow has a wake lock problem?
Had it installed and it drained my battery like anything, with it installed lucky to get 8 hours of battery, uninstalled i get 2 days.
Click to expand...
Click to collapse
I couldn't get it to work on my sgs3 either. Just gave me the green light. The developer website says they're working on getting the US version of the s3 working but it sounds like it has issues with wake locks as well.
anyone else found a similar app that works on the sgs3? I really miss being able to designate any color I want for diferent email, text, missed calls, etc.
Ive never got light flow working properly.
Usually it prevents all notifications working for me but then gives me none of its own. The test is only ever green.
I set all my notifications blue as I only want it for sleep. Last install (this week) it actually worked. It went to sleep too. YAY!
but alas it was not to be. No more notifications the next day.
I only want to put my LED to sleep when I go to sleep. Why is this such a big ask?
It works well for me - but i SOMETIMES get the stock blue flashing light and can't figure out why.

[APP] Pixel Pulse for ambient display

Introducing Pixel Pulse - a simple app to make your Ambient Display pulse when you have notifications!
Choose the interval and select the apps you want you to cause your screen to wake.
Optional paid features let you select different icons and colors for specific apps but the interval and app filter core functionality is all free.
https://play.google.com/store/apps/details?id=com.compass.pixelpulse
If you had previously purchased Ambi-Turner, it has been updated for the new permissions, but because it was written for 8.0 and when Google's ambient display worked differently I decided to leave it as it is. You may however transfer your purchase status of Ambient Display to Pixel Pulse using both apps.
FIRST!
So, I've installed and tested and here are my initial findings:
It works great and looks gorgeous!
If you have your notifications set to display the notification contents, those contents will also flash on the screen.
The default display interval of 60 seconds works perfectly, but when I set it to 30 seconds, it flashed approximately every 10 seconds for some reason.
The notification it chooses to flash doesn't appear to be based on the most recent received or highest priority. Can you explain how the app knows which notification to flash on the display?
So far, there is no way to interact with the notification. Swiping away or double tapping do nothing.
The only way to wake the phone is to press the power button or fingerprint scanner.
This is a great start and I hope you please keep up the great work! I will be donating to the cause!
PuffDaddy_d said:
FIRST!
So, I've installed and tested and here are my initial findings:
It works great and looks gorgeous!
If you have your notifications set to display the notification contents, those contents will also flash on the screen.
The default display interval of 60 seconds works perfectly, but when I set it to 30 seconds, it flashed approximately every 10 seconds for some reason.
The notification it chooses to flash doesn't appear to be based on the most recent received or highest priority. Can you explain how the app knows which notification to flash on the display?
So far, there is no way to interact with the notification. Swiping away or double tapping do nothing.
The only way to wake the phone is to press the power button or fingerprint scanner.
This is a great start and I hope you please keep up the great work! I will be donating to the cause!
Click to expand...
Click to collapse
The times were accurate on my pixel 2, but my pixel 3 which only just arrived, was being stopped. Probably due the aggressive process killing I've read about. So this morning I quickly added a secondary wake to keep it from being killed. I'll sync the times when I get home from work.
It uses the natural order of notifications. A priority option would be a good idea.
No interaction yet, but that's planned. So is a blackout period (don't pulse when you're sleeping for example).
Ignore my comment about the notification priority - that was user error.
Feature request: Can you add an option to have the ambient display stay on (no pulsing) until the user bypasses the ambient display screen? The flashing of the ambient display is a little distracting when the phone is on a desk. This way, we could still tell at a glance when we have a notification waiting, but the screen will go back to all black once we act on it or simply unlock the phone.
I can try but it may not be possible without root.
grokus said:
I can try but it may not be possible without root.
Click to expand...
Click to collapse
No worries - this is xda, root is all we do!
grokus said:
Introducing Pixel Pulse - a simple app to make your Ambient Display pulse when you have notifications!
Choose the interval and select the apps you want you to cause your screen to wake.
Optional paid features let you select different icons and colors for specific apps but the interval and app filter core functionality is all free.
https://play.google.com/store/apps/details?id=com.compass.pixelpulse
If you had previously purchased Ambi-Turner, it has been updated for the new permissions, but because it was written for 8.0 and when Google's ambient display worked differently I decided to leave it as it is. You may however transfer your purchase status of Ambient Display to Pixel Pulse using both apps.
Click to expand...
Click to collapse
I have been working on a similar app, and could not find a way to get this to work while still allowing the device to doze, so the battery life is heavily impacted. Did you solve the battery drain issue?
BLuFeNiX said:
I have been working on a similar app, and could not find a way to get this to work while still allowing the device to doze, so the battery life is heavily impacted. Did you solve the battery drain issue?
Click to expand...
Click to collapse
I haven't noticed a battery drain issue, but I'm hoping xda can help find one if it exists. I'm not actually turning on the screen so doze should remain active.
grokus said:
I haven't noticed a battery drain issue, but I'm hoping xda can help find one if it exists. I'm not actually turning on the screen so doze should remain active.
Click to expand...
Click to collapse
Ah, I see. I have not actually run your app. I did not realize that your were pulsing the notifications themselves -- that's clever! For my own implementation, I am animating a fake LED that fades in and out, which obviously requires the screen to be on. The AOD has a way to doze with the screen on, but I have not found a way to expose that functionality to an app without root.
Anyhow, I see you are using setExactAndAllowWhileIdle to schedule your pulses. I wonder what the battery (and timing) impact is compared to setAndAllowWhileIdle?
Nice work on this!
I originally went down the road of doing a custom screen to mimic the LED until I came up with this idea.
From other threads I've seen some people will prefer that even if it uses slightly more battery.
BLuFeNiX said:
Ah, I see. I have not actually run your app. I did not realize that your were pulsing the notifications themselves -- that's clever! For my own implementation, I am animating a fake LED that fades in and out, which obviously requires the screen to be on. The AOD has a way to doze with the screen on, but I have not found a way to expose that functionality to an app without root.
Anyhow, I see you are using setExactAndAllowWhileIdle to schedule your pulses. I wonder what the battery (and timing) impact is compared to setAndAllowWhileIdle?
Nice work on this!
Click to expand...
Click to collapse
I'm willing to be a tester for you if you need one. Pixel 3, rooted with magisk.
There's now an option to be able to swipe to dismiss and double tap to open the app. I'm working on notification actions next.
grokus said:
There's now an option to be able to swipe to dismiss and double tap to open the app. I'm working on notification actions next.
Click to expand...
Click to collapse
Dude, you're a beast! Keep it up!
I may be able to use the real icons and colors. If so should I just remove the icon customization or would people still find that useful?
Hi mate, i bought your app right away. If you can integreat the original Icons for the famused apps, that would be great.
And can you look at the puls time? I set my time to 20 seconds but it puls every 40 - 50 seconds? Strange.
grokus said:
I may be able to use the real icons and colors. If so should I just remove the icon customization or would people still find that useful?
Click to expand...
Click to collapse
just as it is perfect now, only the repetition time does not work reliably
There is a possibility that the AOD stays on until the message has been read
Been looking for a way to customize the notifications since there's no LED light on this phone. I installed and bought you a coffee, I'll let you know how it goes. Thanks for your efforts.
Hi is this app only usable to Google Pixel phones???
Man this sounds like an awesome app however I'm on an LG V30 (which also doesn't have an LED but this doesn't seem to work. The notification interaction feature alone would be worth the donation.
I'll mess around some more and see if I can get anything

Good alternative for LED notification light?

I've tried a couple of the recommended apps. Pixel Pulse was still too subtle to be noticed from afar. I couldn't get Always on Edge to wake up my phone screen, though after a lot of trouble it DID finally blink when I had the screen on... I'm almost positive I gave it all the requested (and optional) permissions. Is there another recommended app that could produce a noticeable blinking light when I get a notification? In case it matters, I am using a Pixel 3a.
E_Pixie said:
I've tried a couple of the recommended apps. Pixel Pulse was still too subtle to be noticed from afar. I couldn't get Always on Edge to wake up my phone screen, though after a lot of trouble it DID finally blink when I had the screen on... I'm almost positive I gave it all the requested (and optional) permissions. Is there another recommended app that could produce a noticeable blinking light when I get a notification? In case it matters, I am using a Pixel 3a.
Click to expand...
Click to collapse
Have a look at NotifyBuddy
decker39 said:
Have a look at NotifyBuddy
Click to expand...
Click to collapse
I tried it, but it doesn't seem to work for me. I don't know if it is because notifications are waking my screen, or what. But I don't get any notification light while my screen is off.
EDIT: I had seen the developer reply to a comment saying it wouldn't work after screen wake, by design, as a deliberate effort to save battery. I just turned off the "Wake Screen Upon Notification" option on my phone, and that made NotificationBuddy work. But I want something that will still work after the screen wakes.
I am pretty sure with this device your only choice is to use AOD and then these apps work. Otherwise, they can only really wake the screen. I use LED blinker with AOD on and it works every time, but can be a bit glitchy when trying to open the phone to see the notification. What I mean is, if I use my fingerprint, it does not always go to homescreen, I have to press power button to relock and try again. This is really google's fault for not adding a native option for some kind of blinking on the screen. I think no matter what it would require AOD to work though.
I've always said that something as tiny as the notification LED on Android phones made them far more useful than iPhones. I'm disappointed that Google has removed this once great advantage over Apple, just as it did with the old notification ticker from the pre-lollipop days.
wangdaning said:
I am pretty sure with this device your only choice is to use AOD and then these apps work. Otherwise, they can only really wake the screen. I use LED blinker with AOD on and it works every time, but can be a bit glitchy when trying to open the phone to see the notification. What I mean is, if I use my fingerprint, it does not always go to homescreen, I have to press power button to relock and try again. This is really google's fault for not adding a native option for some kind of blinking on the screen. I think no matter what it would require AOD to work though.
Click to expand...
Click to collapse
Even with AOD on (which is not my preference) these apps still don't seem to work correctly. Do I also have to disable the wake screen for notifications option? I really dislike these choices.
I'm getting really frustrated that I practically have to hack my phone to get it to do things that my phone from 4 years ago could do natively.
E_Pixie said:
Even with AOD on (which is not my preference) these apps still don't seem to work correctly. Do I also have to disable the wake screen for notifications option? I really dislike these choices.
I'm getting really frustrated that I practically have to hack my phone to get it to do things that my phone from 4 years ago could do natively.
Click to expand...
Click to collapse
Not sure, I am running a custom rom. All I have done is enabled AOD and installed the app and it works.
I have led blinker, it's the best one I found... Not as perfect as a real notification led but it do the work

Categories

Resources