<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.heepy.net/index.php?action=history&amp;feed=atom&amp;title=Disable_charging_LED_with_tasker_on_Galaxy_S7</id>
	<title>Disable charging LED with tasker on Galaxy S7 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.heepy.net/index.php?action=history&amp;feed=atom&amp;title=Disable_charging_LED_with_tasker_on_Galaxy_S7"/>
	<link rel="alternate" type="text/html" href="https://www.heepy.net/index.php?title=Disable_charging_LED_with_tasker_on_Galaxy_S7&amp;action=history"/>
	<updated>2026-05-10T17:43:20Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.2</generator>
	<entry>
		<id>https://www.heepy.net/index.php?title=Disable_charging_LED_with_tasker_on_Galaxy_S7&amp;diff=1408&amp;oldid=prev</id>
		<title>Morris at 23:20, 21 April 2017</title>
		<link rel="alternate" type="text/html" href="https://www.heepy.net/index.php?title=Disable_charging_LED_with_tasker_on_Galaxy_S7&amp;diff=1408&amp;oldid=prev"/>
		<updated>2017-04-21T23:20:21Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:20, 21 April 2017&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l32&quot; &gt;Line 32:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 32:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Then add another ''Code''/''Run Shell'' task for:&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Then add another ''Code'' / ''Run Shell'' task for:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;pre&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;/sbin/su -c settings put system led_indicator_low_battery 0&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;/sbin/su -c settings put system led_indicator_low_battery 0&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wikidb:diff::1.12:old-1407:rev-1408 --&gt;
&lt;/table&gt;</summary>
		<author><name>Morris</name></author>
	</entry>
	<entry>
		<id>https://www.heepy.net/index.php?title=Disable_charging_LED_with_tasker_on_Galaxy_S7&amp;diff=1407&amp;oldid=prev</id>
		<title>Morris: Created page with &quot;== Accessing Settings == Settings for individually enabling/disabling the charging LED indicator aren't exposed in the settings UI, instead they're grouped together with low b...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.heepy.net/index.php?title=Disable_charging_LED_with_tasker_on_Galaxy_S7&amp;diff=1407&amp;oldid=prev"/>
		<updated>2017-04-21T23:19:41Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Accessing Settings == Settings for individually enabling/disabling the charging LED indicator aren&amp;#039;t exposed in the settings UI, instead they&amp;#039;re grouped together with low b...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Accessing Settings ==&lt;br /&gt;
Settings for individually enabling/disabling the charging LED indicator aren't&lt;br /&gt;
exposed in the settings UI, instead they're grouped together with low battery, missed event,&lt;br /&gt;
and voice recording.  &lt;br /&gt;
&lt;br /&gt;
The settings are visible to the android &amp;quot;settings&amp;quot; shell command, but helpfully Samsung has&lt;br /&gt;
misspelled &amp;quot;'''charging'''&amp;quot; as &amp;quot;'''charing'''&amp;quot; (!)&lt;br /&gt;
&lt;br /&gt;
== Changing values via commandline ==&lt;br /&gt;
So for instance to turn off battery lights at night, set up a schedule in tasker to turn LED indications off at bedtime:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
settings put system led_indicator_low_battery 0&lt;br /&gt;
settings put system led_indicator_charing 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
And then turn them back on in the morning:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
settings put system led_indicator_low_battery 1&lt;br /&gt;
settings put system led_indicator_charing 1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Tasker Setup ==&lt;br /&gt;
In tasker, create a &amp;quot;bedtime&amp;quot; profile of type &amp;quot;''Time''&amp;quot; and set the hours to whenever you want bedtime to be.&lt;br /&gt;
&lt;br /&gt;
Let it create a new task, call it &amp;quot;''kill charging light''&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
For the task, add a &amp;quot;''Code''&amp;quot; action of type &amp;quot;''Run Shell''&amp;quot; and for the command, enter:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/su -c settings put system led_indicator_charing 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then add another ''Code''/''Run Shell'' task for:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
/sbin/su -c settings put system led_indicator_low_battery 0&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
(or leave out the ''su'' and check &amp;quot;''Use Root''&amp;quot; if root mode in Tasker works; it doesn't with my current rom using Magisk su)&lt;br /&gt;
&lt;br /&gt;
Next, add the return task, &amp;quot;''enable charging light''&amp;quot; which is the same thing (use the clone task option) except with &amp;quot;'''1'''&amp;quot; instead of &amp;quot;'''0'''&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Then go back to the ''Bedtime'' profile, long-press the &amp;quot;-&amp;gt; ''Kill Charging Light''&amp;quot;, and&lt;br /&gt;
select &amp;quot;''Add return task''&amp;quot;, and set it to the just-created &amp;quot;''Enable charging light''&amp;quot; task.&lt;br /&gt;
&lt;br /&gt;
Now every night at 11, the charging and low-battery LED indicators will be disabled&lt;br /&gt;
so it can be dark, and at 8am they'll be enabled again so you can have a visual&lt;br /&gt;
indicator of charging and low-bat.&lt;/div&gt;</summary>
		<author><name>Morris</name></author>
	</entry>
</feed>