yashsingh1/xdaforums huggingface dataset:
[Galaxy S I9000 Themes and Apps] aleadam:
I don't know how it's implemented: can the program still detect whether there was a notification or not during the time the schedule is off? Or the program does not respond at all in that time? Instead of triggering a notification, why not just turning on the lights directly? You could use some static boolean areNotifications to decide at schedule on whether to turn the lights on or not.

You probably thought all this already, but I'm just thinking out loud.

Personally, if I receive an email that late at night or so early in the morning it will not be anything important. I can leave without BLN for that. If it's urgent, I'll get a phone call, not an email, and I'll hear that. So the workaround works fine for me, it's just interesting why is not lighting it up...
[Galaxy S I9000 Themes and Apps] JaGuR:
Thanks mate,

Appreciate your work, and bought your App to support you :thumbsup:

With all the dev work for the SGS, it has become the best phone ever :)
[Galaxy S I9000 Themes and Apps] neldar:
I could try to detect incoming notifications and try to determine if that notification wants to trigger the leds.

But the notification system of android is locked for non-system apps - it is difficult to determine by a third-party app (like mine) if a notification is sent by another third-party app.

It is only possible to detect notifications by the standard apps (like sms, phone/call/ calendar/ gmail) - but not directly through the notification system but indirectly through well-known intents sent by these apps and then trying to guess by that behavior if a notification should be sent or not.

But i solved that problem in a different way - the app will shortly flash the screen (when the scheduler enables bln again) and that does also notify/trigger the notificationmanager to re-enable led notifications. That requires a wakelock, but this wakelock is only hold for a very very short time - in fact it will be immediately released again after it is acquired (wakelock is hold for less than 1 ms).

edit: Btw, this wakelock solution is not yet released - this is only for the people who read "wakelock" and already begun to spread non-sense...
[Galaxy S I9000 Themes and Apps] Mangus_U*RA:
just purchased the pro version but when I try to install it (in the market it results as purchased), it starts download but than exit the "download mode"

If I try the "refund" button it says that I can't be refounded...

WTF!?!?
[Galaxy S I9000 Themes and Apps] neldar:
I just have look at my google checkout account and you are not the only one who has problems with the market. Nearly 60% of of the bln control pro orders since yesterday has been canceled and i dont know why.

I am also getting angry at android market and google.

edit: This is the error message of google checkout about the cancellations:

I guess there is a bug/issue at the credit card check at google checkout -i hope google will fix that soon.
[Galaxy S I9000 Themes and Apps] BL4zD:
It's doing that "not supported" error again on CM 6.1 Beta 3 (nightly) with glitterball's reoriented kernel on the Captivate.
[Galaxy S I9000 Themes and Apps] neldar:
The cm beta3 update replaces the bln liblights with the stock liblights - are you sure you have a bln liblights on your phone?

Just trigger the test notification, if that does not work you should install the bln liblights.
[Galaxy S I9000 Themes and Apps] BL4zD:
I pushed the liblights from the blinky app. I thought that was the latest, but where do I obtain BLN liblights? I uninstalled and reinstalled the app but I'm not getting liblights from that.

EDIT: I also grabbed the latest from your github. But the app is telling me liblights is the correct version, but the kernel doesn't support BLN.
[Galaxy S I9000 Themes and Apps] neldar:
Well, the kernel does not support bln, i guess.

What does happen if you press "no" in the compatibility dialog and then trigger the test notification?
[Galaxy S I9000 Themes and Apps] BL4zD:
I guess that build didn't support BLN.

The latest one seems to be working.
[Galaxy S I9000 Themes and Apps] neldar:
I released an update to the pro version:

added: call notification

added: blinking support

Btw, i am thinking of adding that blinking feature to the kernel driver - so anyone could benefit from that, whether you have the free or pro version of the app.

But that will need some time...
[Galaxy S I9000 Themes and Apps] chrcol:
How can noled use less power when it has to turn on the screen?
[Galaxy S I9000 Themes and Apps] shinew:
Has anyone with a SGSII tested the BLN battery drain in either static or blinking state against normal idle state? I'm curious how much more drain with BLN enabled?
[Galaxy S I9000 Themes and Apps] shinew:
Just found out something and not sure if this is a bug or not...

With the built-in notifications enabled in BLN, the timer doesn't reset when a new notification arrives. For example if set blinking to 15min and I have an email coming in(from the Gmail app) at 1pm, then at 1:10pm I have another new email come, the LED will stop blinking at 1:15pm.

Strange thing is that I also use the BLN with tasker for something else and it has no such problem, the LED blinking timer resets/renews from the newest notification received as expected.
[Galaxy S I9000 Themes and Apps] 999kshort:
Thanks neldar for this great app.

I do seem to have it working (BLN Control Pro 0.15.20 on rooted SGS2), but the LEDs are only just barely visible under pitch black conditions. The light flashing from both Menu and Back buttons is literally about the size of a single pixel.

As I'm fairly new to android in general I have no idea as to where I should be looking to troubeshoot. Any idea as to what is going wrong here?

Kernel is Siyah v2.6.9 with DlevROM 3.1 (2.3.5). The ROM I'm using/build.prop have my device as GT-I9100, but it is actually an SC-02C (Japanese I9100 variant which seems to work just fine with BLN for others). I suspect this is part of my problem but have no idea as to how exactly. Any and all ideas tremendously appreciated...
[Galaxy S I9000 Themes and Apps] grifovunque:
why bln doesn't work with greader?

i have try the test and working

i have try sms/calls/gmail and its works very well...

have you some idea?

i have last JVU rom
[Galaxy S I9000 Themes and Apps] BenKranged:
Any news on a version that works with any and all (stock) phone kernels?

Surely another dev is working on this since neldar doesn't know how.
[Galaxy S I9000 Themes and Apps] LordVetinari:
Didn't neldar say stock Samsung kernels don't support BLN?

LV.

--

I might be wrong. You might be crazy.
[Galaxy S I9000 Themes and Apps] micha3lvd:
hey I was wondering if you found any bug yet regarding my previous post. (The one where the lights turn off when you turn on you device while blinking )

Thanks in advance looking forward for an update!

Grtz,

Michael

Sent from my Nexus S
[Galaxy S I9000 Themes and Apps] gsw5700:
Bln always worked for me on semaphore until I installed jvu, simply doesnt work on jvu :(

Sent using TCP/IP
[Galaxy S I9000 Themes and Apps] BenKranged:
Yes. I propose someone start over from scratch and devise a way to load a driver via a root app to make the lights blink. Because he said he will not.
[Galaxy S I9000 Themes and Apps] minotauri:
it works :)
[Galaxy S I9000 Themes and Apps] slypenguin0:
I have the latest MIUI (2.2.10) and the latest Glitch Kernel (V13.1) but my BLN Status is not working.

Glitch V13.1

- LED notifications using Neldar's BLN

They light up for everything, but the app doesn't recognize that the kernel has it.
[Galaxy S I9000 Themes and Apps] Dani01c:
It doesn't work on ics yet does it?
[Galaxy S I9000 Themes and Apps] the fez:
work perfectly with build 16 + semaphore 0.8.1 and bln app pro
[Galaxy S I9000 Themes and Apps] ccristal:
Hi!

Since v4.1, Abyss kernel for Galaxy Note supports BLN. I can't find a BLN Control thread for the Note. Should I post my questions/comments/problems here?

ccristal
[Galaxy S I9000 Themes and Apps] 200mpx:
Also coming here with SGN and new abyss kernel - test notification works for me, but in normal use BLN does not work (only missed calls not tested yet)

Update: sorry, email is working. Seems that third part apps do not taken into consideration by BLN. Is it possible to make an option to track them?
[Galaxy S I9000 Themes and Apps] neldar:
Usually any app that supports the android led notifications should be able to utilize bln.

However some apps dont offer support for led notifications or just dont expose the settings for led notifications or some app devs just screw up led notification support in their apps (like samsung in the sms app). I am working on a comprehensive solution for this problem, but that may take some time.
[Galaxy S I9000 Themes and Apps] DarkSorcerer:
Hi neldar,

Been using BLN Pro for some time, and it's truly a thing I really like to have in my I9000.

I wanted to suggest a feature: in some other app I've tried (when using a kernel that didn't support BLN in these first ICS days for I9000), I saw it had backlight notification for Market.

I guess it's the only thing that appears in my notification bar that doesn't enable the lights. Do you think it could be something worthwhile of your attention? I would like to have that option, possibly in a separate category.

What do you think?

Regards,
[Galaxy S I9000 Themes and Apps] jbejaranogarcia:
ICS works? Thanks

Enviado desde mi GT-I9000 usando Tapatalk
[Galaxy S I9000 Themes and Apps] micha3lvd:
Yeah fully working as long as your kernel supports BLN
[Galaxy S I9000 Themes and Apps] kohkohnut:
Can someone point me to a patched sms app or a patched services.jar please?

I am using Touchwiz sms and would like to enable bln for sms messages.

PS: I am on JVU using semaphore (i9000)
[Galaxy S I9000 Themes and Apps] micha3lvd:
You'll need a custom kernel which supports BLN.. check 1st post FAQ
[Galaxy S I9000 Themes and Apps] kohkohnut:
I think you misunderstood me. I am on Semaphore which supports BLN. But for bln to work for sms (Touchwiz), I'll still need a patch.

I tried searching XDA for a patch for deodexed JVU but couldn't find any. So I am hoping that someone here can point me to the right direction.
[Galaxy S I9000 Themes and Apps] finneginsfast:
Hi there, been using this app on a SGH-T959D and darkyrom 10.4.2, and it's been great.

I've recently flashed onecosmics ICS rc4.2 with semaphore kernel 0.9.1 which is supposed to support BLN. Once I configure, enable BLN and test it within the app it works for the test. However in real world application it's not notifying me.

Any idea what the problem is?
[Galaxy S I9000 Themes and Apps] _-xXBilanoidXx-_:
I have all this features include in my rom dark night ics 4.0.3. But not blinking test. :D
[Galaxy S I9000 Themes and Apps] kohkohnut:
Erm anyone please?
[Galaxy S I9000 Themes and Apps] BlackZenith:
//removed by poster becuase I hijacked the thread... my bad
[Galaxy S I9000 Themes and Apps] G1032:
delete this post...........
[Galaxy S I9000 Themes and Apps] lowspeed:
Any chance of fixing BLN for the at&t Galaxy note so it doesn't keep wakelock? The device doesn't go back to deepsleep if LED goes on.
[Galaxy S I9000 Themes and Apps] neldar:
You have chosen the wrong thread for that kind of question, the wakelock you are referring to is managed by the kernel driver. That means only the author of the bln implementation for the note can change this - and that is not me.

edit: just had a look at the bln sources for the note. And I realized most ppl still are using my old patches, while the i9000 repo already contains newer bln code, that makes a lot easier...
[Galaxy S I9000 Themes and Apps] squall458:
Just updated the PRO app and what does the experimental proximity sensor option do for the galaxy s2? LOVE YOUR APP!
[Galaxy S I9000 Themes and Apps] malevolent000:
Same question here.
[Galaxy S I9000 Themes and Apps] lowspeed:
Probably when the phone is laying on screen the LED's don't go on.

or in pocket...
[Galaxy S I9000 Themes and Apps] Grimmy1st:
Problems with new version:

- heavy wakelocks/battery drain (phone NEVER sleeps), when not ticking experimental prox...

- when exp. prox. clicked: battery drain still higher than before, it seems to me (prox sensor always on???)

SGS2, checkrom V6, Redpill
[Galaxy S I9000 Themes and Apps] neldar:
Exactly. 5 seconds delay before bln is disabled, if the proximity sensor is triggered. Bln gets instantly re-enabled if the proximity sensor is released.

Currently blinking and the static timeout dont work after bln is re-enabled, that will be fixed.

Thank you for reporting that, please provide me the output of /proc/wakelocks.

adb shell cat /proc/wakelocks > wakelocks.txt
[Galaxy S I9000 Themes and Apps] cdmackay:
Interesting observation: with exp prox option NOT ticked, if I hold my hand over the prox sensor, I can no longer activate the "Led notification" item in the Test section.

Take my hand off the sensor, and the menu item immediately works.

Again, this is with the prox option NOT enabled.

Edit: stupid me: I must have been touching the screen at the same time, thus making it a multi-touch, and confusing things.
[Galaxy S I9000 Themes and Apps] rallyfan1986:
Which kernel?

Hi, I have just upgraded to ics on my galaxy s2, can anyone recommend a kernel that supports bln?

I have already bought bln pro

Thanks in advance
[Galaxy S I9000 Themes and Apps] neldar:
I guess you covered the proximity sensor with your hand and touched the screen at the same time. In that case android can not track your input.

I am using a piece of paper to test the proximity sensor, that eliminates most of the side effects.
[Galaxy S I9000 Themes and Apps] jsmith8858:
On the AT&T GS2, I am getting constant wakelocks for wlProximityEvents, and I do not even have the new Proximity feature enabled.

I just unplugged the charger 5 minutes ago, I have no notifications, and it's been in constant wakelock since then. (See the screen shot).

Since the last update, my battery life has been very bad and deep sleep has gone down significantly.

UPDATE: Attached is my wakelocks.txt file.
[Galaxy S I9000 Themes and Apps] neldar:
Thank you for the informations about the wakelock, these infos helped me to resolve the problem.

An update is now available at the market. I want to apologize to those who may have had problems because of this issue.
[Galaxy S I9000 Themes and Apps] jsmith8858:
That is great, I will give it a shot and report back!! BLN on our devices is amazing, thank you so much for your hard work!
[Galaxy S I9000 Themes and Apps] cdmackay:
Oops. apols for my stupidity...
[Galaxy S I9000 Themes and Apps] Dan_Aykroyd:
Hi neldar, thanks for the great new feature and for keep supporting your app!

Just one question; enabling the proximity sensor function uses more battery power for its polling that without it enabled?

Thanks!
[Galaxy S I9000 Themes and Apps] shashank.aviator:
Static LED timeout

Hey Neldar!

Long time since i posted... had no reason to coz u kno... everything was perfect...

i just updated the pro app to the latest version... with the experimental prox sensor n all...

i saw something strange... i no longer have the ability to set static led timeout in minutes... the lowest i can set is 1 hr!!

snapshot attached...

hope u fix this soon... i dont want my led's to be on for an hour!
[Galaxy S I9000 Themes and Apps] Rebel2k:
Indeed I just noticed that too. I had 10 minutes configured before and after the upgrade it is now 0 hours...

Envoyé depuis mon GT-I9000 avec Tapatalk
[Galaxy S I9000 Themes and Apps] neldar:
The proximity sensor is interrupt-based, that means the app becomes only active if the sensor changed its value.

:o

An update is available...
[Galaxy S I9000 Themes and Apps] jsmith8858:
So far so good, no more wakelocks. Thanks again!
[Galaxy S I9000 Themes and Apps] cdmackay:
Just to confirm, prox sensing is working perfectly on my i9000, THS ICS b17, Semaphore 0.9.1. BLN Pro.

I tested a notification occurring when the sensor was already triggered, and also when it was not triggered. In both cases tried repeated trigger/release. All perfect.

thanks much again for this new feature; excellent!
[Galaxy S I9000 Themes and Apps] Mohamed Hegazy:
Great App,Thanks
[Galaxy S I9000 Themes and Apps] micha3lvd:
Damn love the proximity sensor thingy, its genius =D (still bit buggy as it blinks a few times before it goes off but ok.. does save you some power)

Thanks for the update!
[Galaxy S I9000 Themes and Apps] neldar:
That 5 seconds delay is intended, you can not always pay attention to leave the proximity sensor area free while you grab/hold the phone.
[Galaxy S I9000 Themes and Apps] micha3lvd:
ah, then just thanks for implenting the proximity sensor!
[Galaxy S I9000 Themes and Apps] fredbull:
Hi Neldar, thank you very muc again for your incredible app !

I got 2 questions.

1 / Maybe a dumb question, but i dont understand what did you mean when you talked about "Wakelock" ?

Apparently it's solved but i would like to understand what was this "wakelock" ?

2 /An other question : Does the proximity sensor function drain really more battery or not so much ?

thanks :)
[Galaxy S I9000 Themes and Apps] neldar:
Wakelocks are used to prevent the phone from going into sleep/standby, so that apps could finish work that would be interrupted otherwise.

Usually these wakelocks are only held for a few milliseconds and should not noticeably affect the battery life. However due to the combination of 2 bugs in 0.16.3 were it possible that the wakelock, that is used to safely process proximity events, is not released and as a result your phone could not fall in to sleep and that drains battery.

The proximity sensor function should not noticeably drain the battery. The proximity sensor is interrupt-based, that means the app receives an event that notifies the app that the proximity sensor's value has been changed. So the app becomes only active if the sensor detects a change.
[Galaxy S I9000 Themes and Apps] fredbull:
Thanks you very much i understand better now.

I used this new function tonight, and ... Wahhhh it seems to work very well !

Good job ! :cool:
[Galaxy S I9000 Themes and Apps] micha3lvd:
I've noticed that my bln pro app suddenly pops up at the battery usage list.. using 6% of my used battery.. haven't had this before any clue?
[Galaxy S I9000 Themes and Apps] jrsanthana:
I love this application , simple and discreet
[Galaxy S I9000 Themes and Apps] neldar:
Please provide my a screenshot from BetteryBatteryStats with more infos and/or the output of /proc/wakelocks:

adb shell cat /proc/wakelocks > wakelocks.txt
[Galaxy S I9000 Themes and Apps] lowspeed:
Yesterday I saw 6% too. It's already cleared cause I rebooted. Next time i'll post a Screenshot.
[Galaxy S I9000 Themes and Apps] micha3lvd:
I've extracted my Process and Partial Wakelocks since unplugged.. hope you've got enough information if not please say so :)

Ive noticed that there's also a bug where the blinking won't stop after I turn my phone on.. pretty annoying :)
[Galaxy S I9000 Themes and Apps] migueloma:
it's perfect:)
[Galaxy S I9000 Themes and Apps] neldar:
Unfortunately none of the wakelocks of the bln control app appears in that log, could you please try to get the output of /proc/wakelocks for me, maybe a simple fileexplorer app with editor-function should be able to open that file and dsave it to the sdcard (and hopefully the layout stays intact...).
[Galaxy S I9000 Themes and Apps] micha3lvd:
my bad misread here's the wakelock file in my /proc/wakelocks (added the .txt extension)
[Galaxy S I9000 Themes and Apps] fredbull:
Hi,

I got 5% for BLN too today. I never saw BLN in my battery usage before today.

I never used betterbatterystats but i can try tomorow if i can help
[Galaxy S I9000 Themes and Apps] neldar:
There is still not any of the control app wakelocks listed. Maybe the log has been reseted on your phone, did you reboot in the mean time?
[Galaxy S I9000 Themes and Apps] micha3lvd:
Might have.. phone has been acting weird today.. will post new one tomorrow when i've charged my phone fully and used it etc...

thanks for the help anyway :)
[Galaxy S I9000 Themes and Apps] micha3lvd:
Here's my battery stats and my wakelock file after a few hours.. i've noticed it ended up 2nd of battery usage =S hasn't been this way before the update.

Phone details:

Samsung Nexus S i9023

Android 4.0.3 version

Codename Android 1.5.5 ROM

Matr1x 18.0 CFS kernel

App details:

Running Pro version

Proximity sensor enabled

Blinking 1 min

700ms delay between blinks

usage details:

Running for 4h not much use.. just received 3/4 notifications (received when screen off)

Hope you can help me out (and probably others =D),

Micha3lvd
[Galaxy S I9000 Themes and Apps] neldar:
Could you please search in the betterbatterystats app for any hint of the neldar.bln.control.pro, because that log still dont show any wakelock of the control app.
[Galaxy S I9000 Themes and Apps] micha3lvd:
I've found some details of the BLN app in 2 sections.. and especially in the Alarms section..

Hope this helps =\
[Galaxy S I9000 Themes and Apps] yamaha11reed:
On sgs2 skyrocket the lights stay on when in test mode but fail to work after... I've read most of this thread but couldn't find what I was looking for so help please..

Edit: It doesn't work just on sms I use gosms and disabled the notification... Any other suggestions?
[Galaxy S I9000 Themes and Apps] neldar:
These logs contain nothing unusual, the data for all wakelocks of the control app are within normal range.

Led notification can not be triggered while the screen is on. Maybe gosms tries to issue the notification, that is supposed to activate the led while the screen is on. Gosms should have an option to leave the screen off, while a sms arrives.
[Galaxy S I9000 Themes and Apps] micha3lvd:
Ok but then how come in battery stats it says it's using 10%+ ? Haven't seen it appear in that list before but since update its in top 5 all the time..
[Galaxy S I9000 Themes and Apps] yamaha11reed:
Thanks! I'll keep trying to see if it works... Does anyone know if handcent works?
[Galaxy S I9000 Themes and Apps] BigBugHmb:
Batterie drain since last Update

Since last Update BLN suck on batterie! In 5hours Standby, the "neldar.bln.control.pro" has 903 Wakeups (first place of all)

And on Android using Stats, "BLN control - Pro" is on first place too with 35%... That i have never seen bevor update... :o

All at SGS2 with Android 2.3.6

regards

René
[Galaxy S I9000 Themes and Apps] neldar:
Probably this is because we are comparing data from to different periods.

I have manually calculate the time for the control app in your logs:

wlBlinkProcess (neldar.bln.control.pro.BLN control - Pro): 9 s (9 s) Count:1955 0,0%

wlProximityEvent (neldar.bln.control.pro.BLN control - Pro): 3 s (3 s) Count:816 0,0%

= 12 s (12s of 9hours are 0,04%)

And if you want to add the wakeups of the alarms used by the control app:

AlarmManager (Android-systeem): 1 m 41 s (101 s) Count:3047 0,3%

+ 12s (see above)

= 113 s (of 9 hours are 0,35%)

So I cant see any correlation with the screenshot of the built-in battery stats.

Please try to gather the log of betterbatterystats and/or the output of /proc/wakelocks immediately (no reboot, no usb connection) after you have noticed that the control app seems to drain the battery.
[Galaxy S I9000 Themes and Apps] neldar:
Please install BetterBatteryStats, gather the log (menu -> More -> Dump to file). Please do not reboot or establish an usb connection, that would falsify the log data.
[Galaxy S I9000 Themes and Apps] BigBugHmb:
Done...! And now?
[Galaxy S I9000 Themes and Apps] neldar:
Just attach the log file to your post. You can find that file on your sdcard, the name of it begins with "BetterBatteryStats".

edit: If you can not attach that file then write me a message with that file attached.
[Galaxy S I9000 Themes and Apps] BigBugHmb:
Done....! :D

And? found something? For me looks the logfile normal, but the battery drain of 35% is it not. :o

regards

René