<?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-12-06T02:51:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.47.0</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 style=&quot;background-color: #fff; color: #202122;&quot; data-mw-interface=&quot;&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=&quot;diff-marker&quot;&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=&quot;diff-marker&quot;&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=&quot;diff-marker&quot;&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;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&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;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&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 &#039;&#039;Code&#039;&#039;/&#039;&#039;Run Shell&#039;&#039; task for:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&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 &#039;&#039;Code&#039;&#039; / &#039;&#039;Run Shell&#039;&#039; task for:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&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=&quot;diff-marker&quot;&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=&quot;diff-marker&quot;&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=&quot;diff-marker&quot;&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.41:old-1407:rev-1408:php=table --&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&#039;t exposed in the settings UI, instead they&#039;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&amp;#039;t&lt;br /&gt;
exposed in the settings UI, instead they&amp;#039;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;&amp;#039;&amp;#039;&amp;#039;charging&amp;#039;&amp;#039;&amp;#039;&amp;quot; as &amp;quot;&amp;#039;&amp;#039;&amp;#039;charing&amp;#039;&amp;#039;&amp;#039;&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;&amp;#039;&amp;#039;Time&amp;#039;&amp;#039;&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;&amp;#039;&amp;#039;kill charging light&amp;#039;&amp;#039;&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
For the task, add a &amp;quot;&amp;#039;&amp;#039;Code&amp;#039;&amp;#039;&amp;quot; action of type &amp;quot;&amp;#039;&amp;#039;Run Shell&amp;#039;&amp;#039;&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 &amp;#039;&amp;#039;Code&amp;#039;&amp;#039;/&amp;#039;&amp;#039;Run Shell&amp;#039;&amp;#039; 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 &amp;#039;&amp;#039;su&amp;#039;&amp;#039; and check &amp;quot;&amp;#039;&amp;#039;Use Root&amp;#039;&amp;#039;&amp;quot; if root mode in Tasker works; it doesn&amp;#039;t with my current rom using Magisk su)&lt;br /&gt;
&lt;br /&gt;
Next, add the return task, &amp;quot;&amp;#039;&amp;#039;enable charging light&amp;#039;&amp;#039;&amp;quot; which is the same thing (use the clone task option) except with &amp;quot;&amp;#039;&amp;#039;&amp;#039;1&amp;#039;&amp;#039;&amp;#039;&amp;quot; instead of &amp;quot;&amp;#039;&amp;#039;&amp;#039;0&amp;#039;&amp;#039;&amp;#039;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Then go back to the &amp;#039;&amp;#039;Bedtime&amp;#039;&amp;#039; profile, long-press the &amp;quot;-&amp;gt; &amp;#039;&amp;#039;Kill Charging Light&amp;#039;&amp;#039;&amp;quot;, and&lt;br /&gt;
select &amp;quot;&amp;#039;&amp;#039;Add return task&amp;#039;&amp;#039;&amp;quot;, and set it to the just-created &amp;quot;&amp;#039;&amp;#039;Enable charging light&amp;#039;&amp;#039;&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&amp;#039;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>