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

Post your questions and help other users.

Moderator: Martin

Post Reply
Thierry2064
Posts: 4
Joined: 13 Apr 2018 07:52

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

Post by Thierry2064 » 17 Apr 2018 12:36

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.
Attachments
flow_DisableChargeLedAtNight_20180417_080933.xml
(3.01 KiB) Downloaded 750 times

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

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

Post by Desmanto » 17 Apr 2018 17:29

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.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

User avatar
digitalstone
Posts: 342
Joined: 21 Oct 2017 12:36
Location: The Netherlands

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

Post by digitalstone » 17 Apr 2018 18:03

*Not trolling*
Also, if your wife is 'angry' about a light, then the LED isn't the only problem... just saying :?
Phone: LG Nexus 5X (rooted vanilla Android 7.1.2)

Thierry2064
Posts: 4
Joined: 13 Apr 2018 07:52

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

Post by Thierry2064 » 18 Apr 2018 07:34

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.

Post Reply