Page 1 of 1

I cancelled "charging" led notification, but "full charge"?

Posted: 17 Apr 2018 12:36
by Thierry2064
Hi all,

Because my wife cannot stand the led notification at night, I made a flow to cancel led notification while charging, working OK (flow attached), using the system setting "led_indicator_charing" (specific to Samsung, mispelling included). The issue I did not think of, is that the green led lit up when fully charged. And my wife was angry... Anybody knows how to cancel this green light? Or cancel all led notifications at night on the Galaxy S9?

I found on the internet a "dormant_disable_led_indicator" reference, could it be useful?

One additional issue is that when charging during the day , with "do not disturb" off, it may take some time before the charging led notification comes back. Maybe a flaw in the flow...

Cheers

Thierry

PS: Being an old user of apt (predecessor of tasker on Palm), then tasker, I am very impressed by Automagic UI, so neat and easy, congratulation to the developpers. And thanks to Desmanto for posting a long comparaison about it, making me aware of it.

Re: I cancelled "charging" led notification, but "full charg

Posted: 17 Apr 2018 17:29
by Desmanto
I just know there is a system setting for the LED. Maybe there is also a setting to disable the fully charged LED. I know that some exposed module capable of controlling the LED, so it should be controlled-able. But of course don't root your phone juft for single purpose. This is just to prove theoritically.

Automagic can control the LED via Notification on Statusbar and check Flash LED. Remember, the setting is device-dependant, and it won't work properly in all devices. So you've got to try it out.

Something probably you can do is, triggered from Battery full, immediately create a notification with no Flash LED, so it overwrite the current LED color. Then when unplugged, remove this notification, so the LED back to normal. Or maybe notification with certain colour (to overwrite the current LED color). And immediately remove the notification so the LED turned off immediately. For the DND off, some vendors require you to open the certain settings windows first to refresh the value from the Set System Setting action. So maybe you can check whether when opening the setting will make the charging LED notif come back.

I'm glad you read the comparison thread. I have just done re-indexing the whole forum for the last 3 months. You can try to visit my index to find maybe something useful.

Re: I cancelled "charging" led notification, but "full charg

Posted: 17 Apr 2018 18:03
by digitalstone
*Not trolling*
Also, if your wife is 'angry' about a light, then the LED isn't the only problem... just saying :?

Re: I cancelled "charging" led notification, but "full charg

Posted: 18 Apr 2018 07:34
by Thierry2064
Desmanto wrote: Something probably you can do is, triggered from Battery full, immediately create a notification with no Flash LED, so it overwrite the current LED color. Then when unplugged, remove this notification, so the LED back to normal. Or maybe notification with certain colour (to overwrite the current LED color). And immediately remove the notification so the LED turned off immediately. For the DND off, some vendors require you to open the certain settings windows first to refresh the value from the Set System Setting action. So maybe you can check whether when opening the setting will make the charging LED notif come back.
Thanks for the explanation, very interesting to understand how it works. It looks like the galaxy S9 needs you to open the setting windows manually before the setting of the led through automagic will apply.
In the meantime, I found a plugin for the Samsung LED https://forum.xda-developers.com/showpo ... stcount=23, it looks like it is working for the full charge led notification although you cannot set it independantly, will tell after more testing.