<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Dimming the display without locking]]></title><description><![CDATA[<p dir="auto">I have configured that my BQ E4.5 locks after 3 minutes of not touching it and some seconds before it dimms. Fine. I would like to have such dimming already after say 15 seconds, but w/o lock. Can this be set somehow from a terminal command? Thanks.</p>
]]></description><link>https://forums.ubports.com/topic/808/dimming-the-display-without-locking</link><generator>RSS for Node</generator><lastBuildDate>Wed, 11 Mar 2026 21:49:53 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/808.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 20 Dec 2017 09:07:40 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Dimming the display without locking on Sun, 29 Dec 2024 15:23:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/applee" aria-label="Profile: AppLee">@<bdi>AppLee</bdi></a> It's a good theory. But, as you said, I'm not interacting with the phone. It's locked, sitting on a shelf. No notifications are coming in and the device isn't being touched.</p>
<p dir="auto">I think there must be a service or background job that is causing the phone to "wake up" or adjust screen settings. Just need to track down what it is.</p>
]]></description><link>https://forums.ubports.com/post/84079</link><guid isPermaLink="true">https://forums.ubports.com/post/84079</guid><dc:creator><![CDATA[newguy]]></dc:creator><pubDate>Sun, 29 Dec 2024 15:23:46 GMT</pubDate></item><item><title><![CDATA[Reply to Dimming the display without locking on Sun, 29 Dec 2024 15:18:27 GMT]]></title><description><![CDATA[<p dir="auto">I also experiment with this: <a href="https://forums.ubports.com/topic/10672/range-for-manually-adjusting-brightness/6">https://forums.ubports.com/topic/10672/range-for-manually-adjusting-brightness/6</a></p>
<ul>
<li>so what I noticed on my phone (Oneplus N100) is that it stays on the dimmed brightness until a notification comes (like for an email) - that is why, when I use the dimmed brightness, which is during the whole night - I switch wifi and data off so that it would stay dimmed the whole night - and it does stay indeed.</li>
</ul>
]]></description><link>https://forums.ubports.com/post/84078</link><guid isPermaLink="true">https://forums.ubports.com/post/84078</guid><dc:creator><![CDATA[mihael]]></dc:creator><pubDate>Sun, 29 Dec 2024 15:18:27 GMT</pubDate></item><item><title><![CDATA[Reply to Dimming the display without locking on Sun, 29 Dec 2024 09:24:12 GMT]]></title><description><![CDATA[<p dir="auto">Hi <a class="plugin-mentions-user plugin-mentions-a" href="/user/newguy" aria-label="Profile: newguy">@<bdi>newguy</bdi></a></p>
<p dir="auto">I don't have a clear answer, but maybe a pointer.<br />
The screen is dimmed before turned off after timeout.<br />
I guess when the phone is woke up by pushing the power button the brightness reset to whatever is input in the settings.</p>
<p dir="auto">Or it could have nothing to do with the above given that you don't seem to interact with the phone... <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f937.png?v=e9f7455a4ac" class="not-responsive emoji emoji-android emoji--shrug" style="height:23px;width:auto;vertical-align:middle" title=":shrug:" alt="🤷" /></p>
<p dir="auto">I still would investigate where the system setting for brightness is stored and have a look at the logs.</p>
]]></description><link>https://forums.ubports.com/post/84064</link><guid isPermaLink="true">https://forums.ubports.com/post/84064</guid><dc:creator><![CDATA[AppLee]]></dc:creator><pubDate>Sun, 29 Dec 2024 09:24:12 GMT</pubDate></item><item><title><![CDATA[Reply to Dimming the display without locking on Sun, 29 Dec 2024 02:04:58 GMT]]></title><description><![CDATA[<p dir="auto">I have a follow-up question.</p>
<p dir="auto">Using the above path I can change the brightness, but the screen only remains dimmed temporarily (about ten minutes). After that the screen brightens again.</p>
<p dir="auto">The PinePhone has a brightness range from around 0 to 3000 and the system automatically resets the backlight to 943 after a period.</p>
<p dir="auto">The "automatically adjust brightness" option is turned off under the battery/power settings.</p>
<p dir="auto">What service would automatically brighten the screen while the phone is locked and not being used interactively?</p>
]]></description><link>https://forums.ubports.com/post/84063</link><guid isPermaLink="true">https://forums.ubports.com/post/84063</guid><dc:creator><![CDATA[newguy]]></dc:creator><pubDate>Sun, 29 Dec 2024 02:04:58 GMT</pubDate></item><item><title><![CDATA[Reply to Dimming the display without locking on Sun, 29 Dec 2024 00:06:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/newguy" aria-label="Profile: newguy">@<bdi>newguy</bdi></a> Indeed, as you have noticed, the path may differ from device to device, not only between halium devices and mainline devices.</p>
]]></description><link>https://forums.ubports.com/post/84062</link><guid isPermaLink="true">https://forums.ubports.com/post/84062</guid><dc:creator><![CDATA[arubislander]]></dc:creator><pubDate>Sun, 29 Dec 2024 00:06:20 GMT</pubDate></item><item><title><![CDATA[Reply to Dimming the display without locking on Sat, 28 Dec 2024 21:18:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/vehi_mv" aria-label="Profile: Vehi_MV">@<bdi>Vehi_MV</bdi></a> said in <a href="/post/5996">Dimming the display without locking</a>:</p>
<blockquote>
<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/guru" aria-label="Profile: guru">@<bdi>guru</bdi></a><br />
Hi. You can set the brightness of display from terminal.<br />
For example if you want 50% brightness you can use the following command:<br />
echo 50 &gt; /sys/class/leds/lcd-backlights/brightness</p>
</blockquote>
<p dir="auto">In case anyone else finds this thread, this was very helpful, but the path isn't the same on my system. I'm running 20.04 on the PinePhone and the path for dimming/brightening the screen is:</p>
<p dir="auto">/sys/devices/platform/backlight/backlight/backlight/brightness</p>
]]></description><link>https://forums.ubports.com/post/84061</link><guid isPermaLink="true">https://forums.ubports.com/post/84061</guid><dc:creator><![CDATA[newguy]]></dc:creator><pubDate>Sat, 28 Dec 2024 21:18:23 GMT</pubDate></item><item><title><![CDATA[Reply to Dimming the display without locking on Thu, 21 Dec 2017 15:12:07 GMT]]></title><description><![CDATA[<p dir="auto">The values one sets with <strong>dconf</strong> can be get or set with <strong>gsettings</strong> too:</p>
<p dir="auto">$ dconf write /com/ubuntu/touch/system/activity-timeout "@u 30"<br />
$ dconf write /com/ubuntu/touch/system/dim-timeout "@u 5"</p>
<p dir="auto">$ gsettings list-recursively | egrep 'dim|activity'<br />
com.ubuntu.touch.system activity-timeout uint32 30<br />
com.ubuntu.touch.system dim-timeout uint32 5<br />
org.gnome.settings-daemon.plugins.power idle-dim true<br />
org.gnome.settings-daemon.plugins.power idle-dim true</p>
<p dir="auto">$ gsettings get com.ubuntu.touch.system dim-timeout<br />
uint32 5</p>
<p dir="auto">While (as Vehi_MV says too) the value for <strong>acivity-timeout</strong> works fine, the used value for dim is always 10 secs before this and not what was set into <strong>dim-timeout</strong>. This must be a bug in the powerd, perhaps, because the dimming is announced in /var/log/syslog as:</p>
<p dir="auto">$ sudo grep dim /var/log/syslog<br />
Dec 21 15:49:05 ubuntu-phablet repowerd[917]: DefaultStateMachine: handle_alarm(display_dim)<br />
Dec 21 16:03:22 ubuntu-phablet repowerd[917]: DefaultStateMachine: handle_alarm(display_dim)<br />
Dec 21 16:07:51 ubuntu-phablet repowerd[917]: DefaultStateMachine: handle_alarm(display_dim)</p>
<p dir="auto">and it would be interesting to get to know from where this alarm-clock gets set...</p>
]]></description><link>https://forums.ubports.com/post/6034</link><guid isPermaLink="true">https://forums.ubports.com/post/6034</guid><dc:creator><![CDATA[guru]]></dc:creator><pubDate>Thu, 21 Dec 2017 15:12:07 GMT</pubDate></item><item><title><![CDATA[Reply to Dimming the display without locking on Thu, 21 Dec 2017 14:14:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/guru" aria-label="Profile: guru">@<bdi>guru</bdi></a><br />
So I was playing around with dconf and it looks like the value for "activity-timeout" set with dconf does work.<br />
It allso works after reboot. It is very strange that "dim-timeout" doesnt work.<br />
I allso noticed that when changing "sleep when idle" in battery settings, that  "dim-timeout" is always set 10 sec les than "activity-timeout".</p>
<p dir="auto">Edit:<br />
It looks like "dim-timeout" is allways 10 sec less than "activity-timeout" even if you change "activity-timeout" with dconf.<br />
If you for example change "activity-timeout" with dconf to 20 sec the display wil be dimmed after 10 seconds regardless what "dconf dump /com/ubuntu/touch/system/" says.</p>
]]></description><link>https://forums.ubports.com/post/6033</link><guid isPermaLink="true">https://forums.ubports.com/post/6033</guid><dc:creator><![CDATA[Vehi_MV]]></dc:creator><pubDate>Thu, 21 Dec 2017 14:14:10 GMT</pubDate></item><item><title><![CDATA[Reply to Dimming the display without locking on Thu, 21 Dec 2017 08:01:48 GMT]]></title><description><![CDATA[<p dir="auto">I found a pointer into the right direction in a posting in <a href="https://askubuntu.com/questions/628345/how-to-disable-ubuntu-phone-auto-dim-function" rel="nofollow ugc">https://askubuntu.com/questions/628345/how-to-disable-ubuntu-phone-auto-dim-function</a></p>
<p dir="auto">One can read and write the value with <strong>dconf ...</strong> and for 3 minutes (=180 secs) the value gets configured to 170 secs, i.e. 10 secs before locking the screen dims:</p>
<p dir="auto">$ dconf read /com/ubuntu/touch/system/dim-timeout<br />
uint32 170</p>
<p dir="auto">When I set this to 10 secs, the value is stored, but does not work, i.e. it still uses the old 170 sec value.</p>
<p dir="auto">$ dconf write /com/ubuntu/touch/system/dim-timeout "@u 10"<br />
$ dconf read /com/ubuntu/touch/system/dim-timeout<br />
uint32 10</p>
<p dir="auto">When one sets a new timeout with the system-settings-app, the value gets again overwritten to, for example, 170 secs. So, it seems that the change with 'dconf...' is not sufficient, but must be noted/stored somehow/somewhere else. A strace of the system-settings-app shows, that the value is written to some file /home/phablet/.config/dconf/user. A modified value survives a reboot (normal, as it stored in that file), but as well does not work after boot.</p>
<p dir="auto">Here are some more value to read/write/dump:</p>
<p dir="auto">$ dconf dump /com/ubuntu/touch/system/<br />
[/]<br />
dim-timeout=uint32 170<br />
brightness-needs-hardware-default=false<br />
rotation-lock=true<br />
auto-brightness=true<br />
activity-timeout=uint32 180<br />
brightness=135</p>
<p dir="auto">To be continued ...</p>
]]></description><link>https://forums.ubports.com/post/6003</link><guid isPermaLink="true">https://forums.ubports.com/post/6003</guid><dc:creator><![CDATA[guru]]></dc:creator><pubDate>Thu, 21 Dec 2017 08:01:48 GMT</pubDate></item><item><title><![CDATA[Reply to Dimming the display without locking on Wed, 20 Dec 2017 10:22:07 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/guru" aria-label="Profile: guru">@<bdi>guru</bdi></a><br />
Hi. You can set the brightness of display from terminal.<br />
For example if you want 50% brightness you can use the following command:<br />
echo 50 &gt; /sys/class/leds/lcd-backlights/brightness</p>
]]></description><link>https://forums.ubports.com/post/5996</link><guid isPermaLink="true">https://forums.ubports.com/post/5996</guid><dc:creator><![CDATA[Vehi_MV]]></dc:creator><pubDate>Wed, 20 Dec 2017 10:22:07 GMT</pubDate></item></channel></rss>