<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Power Saving – Linux und Ich</title>
	<atom:link href="https://linuxundich.de/en/tag/power-saving/feed/" rel="self" type="application/rss+xml" />
	<link>https://linuxundich.de/en</link>
	<description>A German Linux blog, in English</description>
	<lastBuildDate>Fri, 27 Nov 2026 09:32:48 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.5</generator>
	<item>
		<title>TUXEDO Control Center and the KDE and GNOME power mode: Two adapters tested</title>
		<link>https://linuxundich.de/en/tuxedo-control-center-power-profiles/</link>
					<comments>https://linuxundich.de/en/tuxedo-control-center-power-profiles/#respond</comments>
		
		<dc:creator><![CDATA[Christoph Langner]]></dc:creator>
		<pubDate>Fri, 27 Nov 2026 09:32:48 +0000</pubDate>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[KDE Plasma]]></category>
		<category><![CDATA[Power Saving]]></category>
		<category><![CDATA[TUXEDO]]></category>
		<category><![CDATA[TUXEDO Control Center]]></category>
		<guid isPermaLink="false">https://linuxundich.de/en/?p=554</guid>

					<description><![CDATA[Two small community projects pose as power-profiles-daemon and let the power profile slider in KDE Plasma and GNOME switch the profiles of the TUXEDO Control Center directly. I tried both on an InfinityBook running Arch Linux.]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">If you own a TUXEDO notebook, the TUXEDO Control Center (TCC) handles processor, fans, and battery behavior. KDE Plasma and GNOME bring their own power mode on top, backed by power-profiles-daemon, and both services touch the same processor settings. On TUXEDO OS, the two are well tuned to each other. On any other distribution, you have some fixing to do.</p>



<p class="wp-block-paragraph">Two small projects want to settle this dispute. The <a href="https://github.com/detluck/tuxedo-power-profiles-adapter">adapter by detluck</a> and the <a href="https://github.com/olwig/tuxedo-power-profiles-adapter">adapter by olwig</a>, which goes by the same name, both pose as power-profiles-daemon and pass every change in the desktop on to the TCC. The slider in the panel then switches the TUXEDO profiles directly. I tried both on a freshly installed InfinityBook S 17 Gen8 with Arch Linux and KDE Plasma 6.8.</p>



<figure data-wp-context="{&quot;imageId&quot;:&quot;6b1249966a843&quot;}" data-wp-interactive="core/image" data-wp-key="6b1249966a843" class="wp-block-image wp-lightbox-container"><img fetchpriority="high" decoding="async" height="720" sizes="(max-width: 781px) 100vw, 680px" srcset="https://linuxundich.de/wp-content/uploads/2026/11/tcc-energiemodus-01-detluck-cool-and-breezy-ausgeglichen.de-640x360.webp 640w, https://linuxundich.de/wp-content/uploads/2026/11/tcc-energiemodus-01-detluck-cool-and-breezy-ausgeglichen.de-768x432.webp 768w, https://linuxundich.de/wp-content/uploads/2026/11/tcc-energiemodus-01-detluck-cool-and-breezy-ausgeglichen.de-1280x720.webp 1280w, https://linuxundich.de/wp-content/uploads/2026/11/tcc-energiemodus-01-detluck-cool-and-breezy-ausgeglichen.de-1536x864.webp 1536w, https://linuxundich.de/wp-content/uploads/2026/11/tcc-energiemodus-01-detluck-cool-and-breezy-ausgeglichen.de.webp 1920w" width="1280" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://linuxundich.de/wp-content/uploads/2026/11/tcc-energiemodus-01-detluck-cool-and-breezy-ausgeglichen.de-1280x720.webp" alt="TUXEDO Control Center with the system monitor and the active profile Cool and breezy, at the bottom right the open Plasma widget Power and Battery with the power profile slider set to Balanced"/><button
			class="lightbox-trigger"
			type="button"
			aria-haspopup="dialog"
			data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
			data-wp-init="callbacks.initTriggerButton"
			data-wp-on--click="actions.showLightbox"
			data-wp-style--right="state.thisImage.buttonRight"
			data-wp-style--top="state.thisImage.buttonTop"
		>
			<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
				<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
			</svg>
		</button><figcaption class="wp-element-caption">The TUXEDO Control Center shows “Cool and breezy” as the active profile, and the KDE Plasma battery widget matches it with “Balanced” (Ausgeglichen).</figcaption></figure>



<div class="wp-block-group lui-callout is-info is-layout-flow wp-block-group-is-layout-flow">
<p class="lui-callout-label wp-block-paragraph">// Disclosure</p>



<p class="wp-block-paragraph">My day job is at TUXEDO Computers. Both adapters are community projects I have nothing to do with. For GNOME, I wrote my own solution called <a href="https://linuxundich.de/en/projects/pulsgeber/">Pulsgeber</a>, which takes a different approach. I have already submitted the extension to <a href="https://extensions.gnome.org/">GNOME Extensions</a>, but it is still waiting for approval.</p>
</div>



<h2 class="wp-block-heading">Why the TCC and the power mode get in each other&#8217;s way</h2>



<p class="wp-block-paragraph">On Arch Linux with Plasma, power-profiles-daemon landed on my disk right away, so once the TCC is installed, both services run side by side. If you set the slider to <em>Power Save</em> (<em>Energie sparen</em>), power-profiles-daemon switches the processor&#8217;s energy preference. On my machine, the TCC turned that setting back to its own value after about one second. Plasma still shows “Power Save”, even though nothing of it is left.</p>



<p class="wp-block-paragraph">The usual advice is therefore to turn off power-profiles-daemon. The hardware then belongs to the TCC alone, but the power mode in the desktop is dead: the Plasma battery widget only reports the power profile as “Not available” (<em>Nicht verfügbar</em>) and suggests installing the power-profiles-daemon package. Programs that briefly request more performance through <code>powerprofilesctl</code> come up empty, too.</p>



<figure data-wp-context="{&quot;imageId&quot;:&quot;6b1249966b0b0&quot;}" data-wp-interactive="core/image" data-wp-key="6b1249966b0b0" class="wp-block-image wp-lightbox-container"><img decoding="async" height="720" sizes="(max-width: 781px) 100vw, 680px" srcset="https://linuxundich.de/wp-content/uploads/2026/11/tcc-energiemodus-09-ohne-ppd-nicht-verfuegbar.de-640x360.webp 640w, https://linuxundich.de/wp-content/uploads/2026/11/tcc-energiemodus-09-ohne-ppd-nicht-verfuegbar.de-768x432.webp 768w, https://linuxundich.de/wp-content/uploads/2026/11/tcc-energiemodus-09-ohne-ppd-nicht-verfuegbar.de-1280x720.webp 1280w, https://linuxundich.de/wp-content/uploads/2026/11/tcc-energiemodus-09-ohne-ppd-nicht-verfuegbar.de-1536x864.webp 1536w, https://linuxundich.de/wp-content/uploads/2026/11/tcc-energiemodus-09-ohne-ppd-nicht-verfuegbar.de.webp 1920w" width="1280" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://linuxundich.de/wp-content/uploads/2026/11/tcc-energiemodus-09-ohne-ppd-nicht-verfuegbar.de-1280x720.webp" alt="TUXEDO Control Center in the profile overview with the active profile Powersave extreme, on the right the dark Plasma widget Power and Battery with the note Not available and the suggestion to install power-profiles-daemon"/><button
			class="lightbox-trigger"
			type="button"
			aria-haspopup="dialog"
			data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
			data-wp-init="callbacks.initTriggerButton"
			data-wp-on--click="actions.showLightbox"
			data-wp-style--right="state.thisImage.buttonRight"
			data-wp-style--top="state.thisImage.buttonTop"
		>
			<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
				<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
			</svg>
		</button><figcaption class="wp-element-caption">Without power-profiles-daemon and without an adapter, the KDE Plasma battery widget reports the power profile as “Not available”, while the TCC keeps switching profiles.</figcaption></figure>



<h2 class="wp-block-heading">Building and setting up the adapter by detluck</h2>



<p class="wp-block-paragraph">The adapter by detluck has only been around since November 20, and the latest changes date from November 25. It is a lean C program that registers under both names of power-profiles-daemon. There is no package, version number, or license file yet, so you have to build it yourself. On Arch, all you need are the development tools:</p>



<pre class="wp-block-code"><code>$ sudo pacman -S --needed base-devel git json-c
$ git clone https://github.com/detluck/tuxedo-power-profiles-adapter
$ cd tuxedo-power-profiles-adapter
$ make
$ sudo make install</code></pre>



<p class="wp-block-paragraph">Next, you mask the real power-profiles-daemon and start the adapter instead. You don&#8217;t have to uninstall power-profiles-daemon for this, so the <code>powerprofilesctl</code> tool stays on your system. The adapter requires an installed TCC, and systemd always starts it together with the TCC&#8217;s <code>tccd</code> service. On my machine, this worked on the first try:</p>



<pre class="wp-block-code"><code>$ sudo systemctl mask --now power-profiles-daemon
$ sudo systemctl reload dbus
$ sudo systemctl daemon-reload
$ sudo systemctl enable --now tcc-power-profiles</code></pre>



<p class="wp-block-paragraph">Which TCC profile sits behind which level is set in the adapter&#8217;s configuration file. Out of the box, <em>Power Save</em> maps to “Powersave extreme”, <em>Balanced</em> to “Cool and breezy”, and <em>Performance</em> to “Default”. You can add your own profiles there by their ID. After you save the file, the adapter reloads it on its own and rejects unknown profiles or broken JSON:</p>



<pre class="wp-block-code"><code>$ sudoedit /etc/tcc-power-profiles/config.json
{
  &quot;profiles&quot;: {
    &quot;power-saver&quot;: &quot;__legacy_powersave_extreme__&quot;,
    &quot;balanced&quot;: &quot;__legacy_cool_and_breezy__&quot;,
    &quot;performance&quot;: &quot;__legacy_default__&quot;
  }
}</code></pre>



<h2 class="wp-block-heading">Everyday use on KDE Plasma</h2>



<p class="wp-block-paragraph">In the Plasma battery widget, the TCC follows the slider without delay. It works the other way around as well: if you change the profile in the TCC itself, the slider follows after one to two seconds. Programs can request a profile temporarily with <code>powerprofilesctl launch</code>, and afterwards the adapter returns to the previous one. With 3.5 MB of memory and barely measurable CPU load, you won&#8217;t notice it running.</p>



<p class="wp-block-paragraph">There is one catch, and detluck describes it in the project&#8217;s README: when you plug in or unplug the charger, the TCC switches to the profile you set there for AC and battery. Out of the box, that is “TUXEDO Defaults” for both, and the adapter doesn&#8217;t know that profile. After unplugging, Plasma therefore kept showing “Performance” on my machine, even though the TCC had long since switched to something else.</p>



<p class="wp-block-paragraph">The fix is a quick trip to the TCC settings. There I set “Default” for AC and “Powersave extreme” for battery, two profiles the adapter knows. After that, Plasma followed within a second whenever I unplugged and plugged the charger back in. By the way, unlike the real power-profiles-daemon, the adapter doesn&#8217;t check who is allowed to switch: any user on the machine can change the profile.</p>



<figure data-wp-context="{&quot;imageId&quot;:&quot;6b1249966b550&quot;}" data-wp-interactive="core/image" data-wp-key="6b1249966b550" class="wp-block-image wp-lightbox-container"><img decoding="async" height="720" sizes="(max-width: 781px) 100vw, 680px" srcset="https://linuxundich.de/wp-content/uploads/2026/11/tcc-energiemodus-07-detluck-akku-energie-sparen.de-640x360.webp 640w, https://linuxundich.de/wp-content/uploads/2026/11/tcc-energiemodus-07-detluck-akku-energie-sparen.de-768x432.webp 768w, https://linuxundich.de/wp-content/uploads/2026/11/tcc-energiemodus-07-detluck-akku-energie-sparen.de-1280x720.webp 1280w, https://linuxundich.de/wp-content/uploads/2026/11/tcc-energiemodus-07-detluck-akku-energie-sparen.de-1536x864.webp 1536w, https://linuxundich.de/wp-content/uploads/2026/11/tcc-energiemodus-07-detluck-akku-energie-sparen.de.webp 1920w" width="1280" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://linuxundich.de/wp-content/uploads/2026/11/tcc-energiemodus-07-detluck-akku-energie-sparen.de-1280x720.webp" alt="TUXEDO Control Center in the profile overview with the active profile Powersave extreme, next to it the Plasma widget Power and Battery with the slider all the way left on Power Save and the note Discharging"/><button
			class="lightbox-trigger"
			type="button"
			aria-haspopup="dialog"
			data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
			data-wp-init="callbacks.initTriggerButton"
			data-wp-on--click="actions.showLightbox"
			data-wp-style--right="state.thisImage.buttonRight"
			data-wp-style--top="state.thisImage.buttonTop"
		>
			<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
				<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
			</svg>
		</button><figcaption class="wp-element-caption">On battery, the TCC switches to “Powersave extreme”, and with the adapter by detluck the Plasma widget matches it with “Power Save”.</figcaption></figure>



<h2 class="wp-block-heading">The adapter by olwig: A predecessor from the AUR</h2>



<p class="wp-block-paragraph">The idea isn&#8217;t new: the adapter by olwig dates back to March, is MIT-licensed, and is available as a Git package in the AUR. It is written in Python and hasn&#8217;t changed since. You trip over two things right at installation: the package requires <code>tuxedo-control-center</code>, but many people use <code>tuxedo-control-center-bin</code> from the AUR, which conflicts with it.</p>



<p class="wp-block-paragraph">On top of that, the package removes power-profiles-daemon and with it <code>powerprofilesctl</code>. On my machine, it didn&#8217;t start its service after installation; only a <code>systemctl daemon-reload</code> got it running. After that, the Plasma slider switches the TCC profiles reliably as well. In the opposite direction, however, nothing happens: if you change the profile in the TCC or unplug the charger, Plasma sticks with the old value.</p>



<figure data-wp-context="{&quot;imageId&quot;:&quot;6b1249966b7d2&quot;}" data-wp-interactive="core/image" data-wp-key="6b1249966b7d2" class="wp-block-image wp-lightbox-container"><img loading="lazy" decoding="async" height="720" sizes="auto, (max-width: 781px) 100vw, 680px" srcset="https://linuxundich.de/wp-content/uploads/2026/11/tcc-energiemodus-06-olwig-akku-widerspruch.de-640x360.webp 640w, https://linuxundich.de/wp-content/uploads/2026/11/tcc-energiemodus-06-olwig-akku-widerspruch.de-768x432.webp 768w, https://linuxundich.de/wp-content/uploads/2026/11/tcc-energiemodus-06-olwig-akku-widerspruch.de-1280x720.webp 1280w, https://linuxundich.de/wp-content/uploads/2026/11/tcc-energiemodus-06-olwig-akku-widerspruch.de-1536x864.webp 1536w, https://linuxundich.de/wp-content/uploads/2026/11/tcc-energiemodus-06-olwig-akku-widerspruch.de.webp 1920w" width="1280" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://linuxundich.de/wp-content/uploads/2026/11/tcc-energiemodus-06-olwig-akku-widerspruch.de-1280x720.webp" alt="TUXEDO Control Center with the active profile Powersave extreme for battery mode, on the right the Plasma widget Power and Battery with the slider all the way right on Performance"/><button
			class="lightbox-trigger"
			type="button"
			aria-haspopup="dialog"
			data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
			data-wp-init="callbacks.initTriggerButton"
			data-wp-on--click="actions.showLightbox"
			data-wp-style--right="state.thisImage.buttonRight"
			data-wp-style--top="state.thisImage.buttonTop"
		>
			<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
				<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
			</svg>
		</button><figcaption class="wp-element-caption">The adapter by olwig on battery: the TCC has activated “Powersave extreme”, while the Plasma widget still shows “Performance”.</figcaption></figure>



<p class="wp-block-paragraph">The predecessor does less in other areas, too. It doesn&#8217;t handle requests from programs for a temporary profile, it only picks up changes to its configuration file after a service restart, and at 31 MB it needs almost ten times as much memory. Even <code>powerprofilesctl</code> aborts with an error message, because the adapter lacks some of the information the tool asks for.</p>



<h2 class="wp-block-heading">With the adapter by detluck, the TCC and Plasma finally play together</h2>



<p class="wp-block-paragraph">Both adapters solve the core problem: the KDE Plasma power mode switches the TCC profiles instead of fighting the TCC over the processor. The adapter by detluck, however, implements the power-profiles-daemon interface almost completely and also reports changes made in the TCC back to the desktop. The one by olwig only covers plain switching. What&#8217;s still missing with detluck is a license and a package.</p>



<p class="wp-block-paragraph">In my opinion, the adapter by detluck is useful for anyone who works on a TUXEDO laptop but not with TUXEDO OS. Especially on KDE Plasma, I don&#8217;t know of any other solution. If you use GNOME, <a href="https://linuxundich.de/en/pulsgeber-tuxedo-control-center-profiles-in-the-gnome-quick-settings/">Pulsgeber</a> puts the TCC profiles right into the Quick Settings as well. Do you also run your TUXEDO device without TUXEDO OS, and how do you manage performance and fans there?</p>
<hr><p>☕ <strong>Support Linux und Ich</strong><br>Thanks for reading <a href="https://linuxundich.de/en/">Linux und Ich</a>. If you enjoy the blog and would like to support my work, you will find more information on the <a href="https://linuxundich.de/en/support/">donation page</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://linuxundich.de/en/tuxedo-control-center-power-profiles/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Battery Health Charging: Extend Your Battery&#8217;s Lifespan on GNOME</title>
		<link>https://linuxundich.de/en/battery-health-charging-extend-your-battery-s-lifespan-on-gnome/</link>
					<comments>https://linuxundich.de/en/battery-health-charging-extend-your-battery-s-lifespan-on-gnome/#respond</comments>
		
		<dc:creator><![CDATA[Christoph Langner]]></dc:creator>
		<pubDate>Thu, 06 Jul 2023 12:55:05 +0000</pubDate>
				<category><![CDATA[GNU/Linux]]></category>
		<category><![CDATA[Battery Life]]></category>
		<category><![CDATA[GNOME]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Power Saving]]></category>
		<guid isPermaLink="false">https://linuxundich.de/en/?p=33</guid>

					<description><![CDATA[Many laptops and smartphones today come with built-in batteries and glued-shut cases. That makes for compact, waterproof devices, but it also leads to planned obsolescence. To go easy on the battery, you can adjust the charging behavior with the GNOME Shell extension Battery Health Charging.]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Back in the day, everything was better: Raider was still called Twix. In winter there was still enough snow for sledding and skiing, and with electronic devices you just put in new batteries to get light again or listen to music. Today, many devices have built-in batteries, and smartphones and laptops are glued shut all around. On the one hand, that makes small, sturdy and waterproof devices possible. On the other hand, it&#8217;s obviously a clear case of planned obsolescence: when the battery is done for, you either pay a lot to have the device repaired or just buy a new one. That&#8217;s why it&#8217;s important to go easy on the battery, for example by not charging a laptop battery to 100 percent all the time when it stays plugged in. With the GNOME extension <a href="https://github.com/maniacx/Battery-Health-Charging">Battery Health Charging</a>, you can adjust the charging behavior to your current working situation with a single mouse click.</p>



<p class="wp-block-paragraph">For the lifespan of a laptop battery, it&#8217;s not exactly ideal when the device sits on the desk plugged in most of the time and the power adapter keeps the battery at 100 percent. The best thing would be to disconnect the battery while on mains power and run the device from the adapter alone, so the battery would discharge only very slowly. Just as important would be not charging the battery to its full 100 percent capacity every time. For battery life, swinging between 20 and 80 percent would be ideal. The manufacturers know that too, but on Linux there&#8217;s often no service that takes care of optimal charging behavior. Only a few manufacturers, such as TUXEDO with its <a href="https://www.tuxedocomputers.com/de/Infos/Hilfe-Support/Haeufig-gestellte-Fragen/Wie-kann-ich-die-Lebenszeit-meines-Akkus-verlaengern-_1.tuxedo">FlexiCharger</a>, have us Linux users in mind.</p>



<h3 class="wp-block-heading">Battery Health Charging for GNOME</h3>



<p class="wp-block-paragraph">You install the extension with a mouse click via the <a href="https://extensions.gnome.org/extension/5724/battery-health-charging/">GNOME Extensions portal</a>. Then open the extension&#8217;s settings (for example via the gear icon next to the title in the GNOME panel) and give the extension administrative rights via PolicyKit under <em>Install</em> [CHECK: exact label]. The matching kernel modules or libraries also need to be installed. You&#8217;ll find details on supported devices on the <a href="https://github.com/maniacx/Battery-Health-Charging">project page</a>. On my two test devices, a <a href="https://www.tuxedocomputers.com/de/TUXEDO-InfinityBook-Pro-14-Gen8.tuxedo">TUXEDO InfinityBook Pro 14</a> running TUXEDO OS and a <a href="https://wiki.archlinux.org/title/Dell_XPS_15">2018 DELL XPS 15</a> running Arch Linux, everything is installed out of the box. The InfinityBook needs the <a href="https://github.com/tuxedocomputers/tuxedo-keyboard">tuxedo-keyboard</a> kernel module, the Dell XPS the <a href="https://github.com/dell/libsmbios">libsmbios</a> library.</p>



<figure data-wp-context="{&quot;imageId&quot;:&quot;6b124996874d0&quot;}" data-wp-interactive="core/image" data-wp-key="6b124996874d0" class="wp-block-image wp-lightbox-container"><img loading="lazy" decoding="async" height="645" sizes="auto, (max-width: 781px) 100vw, 680px" srcset="https://linuxundich.de/wp-content/uploads/2023/07/dell-smbios-battery-ctl-640x409.png 640w, https://linuxundich.de/wp-content/uploads/2023/07/dell-smbios-battery-ctl-768x490.png 768w, https://linuxundich.de/wp-content/uploads/2023/07/dell-smbios-battery-ctl.png 1010w" width="1010" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://linuxundich.de/wp-content/uploads/2023/07/dell-smbios-battery-ctl.png" alt="In the terminal, smbios-battery-ctl reads and sets the charging mode of the Dell laptop." style="width:100%"/><button
			class="lightbox-trigger"
			type="button"
			aria-haspopup="dialog"
			data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
			data-wp-init="callbacks.initTriggerButton"
			data-wp-on--click="actions.showLightbox"
			data-wp-style--right="state.thisImage.buttonRight"
			data-wp-style--top="state.thisImage.buttonTop"
		>
			<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
				<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
			</svg>
		</button><figcaption class="wp-element-caption">On my Dell XPS 15 (2018), the charging behavior can also be controlled from the terminal via libsmbios.</figcaption></figure>



<p class="wp-block-paragraph">Don&#8217;t let the battery status display confuse you. If the computer stops charging at, say, 80 percent, the lightning bolt next to the battery icon in the panel disappears, even though the device is still plugged in and the battery isn&#8217;t being discharged, apart from the usually small self-discharge. You can change this behavior in the extension&#8217;s settings. It&#8217;s also not entirely clear whether the system detects the charge level correctly. With a limit of 90 percent, is a battery &#8220;full&#8221; at 90 or at 100 percent? The different tools also get in each other&#8217;s way a bit: if I set the charging mode on the Dell laptop via <code>smbios-battery-ctl</code>, the extension doesn&#8217;t notice, and something similar happens with the TUXEDO Control Center. But if you only use one of the tools, the extension works wonderfully.</p>



<figure data-wp-context="{&quot;imageId&quot;:&quot;6b12499687795&quot;}" data-wp-interactive="core/image" data-wp-key="6b12499687795" class="wp-block-image wp-lightbox-container"><img loading="lazy" decoding="async" height="720" sizes="auto, (max-width: 781px) 100vw, 680px" srcset="https://linuxundich.de/wp-content/uploads/2023/07/battery-health-charging1-640x360.png 640w, https://linuxundich.de/wp-content/uploads/2023/07/battery-health-charging1-768x432.png 768w, https://linuxundich.de/wp-content/uploads/2023/07/battery-health-charging1-1280x720.png 1280w, https://linuxundich.de/wp-content/uploads/2023/07/battery-health-charging1-1536x864.png 1536w, https://linuxundich.de/wp-content/uploads/2023/07/battery-health-charging1.png 1920w" width="1280" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://linuxundich.de/wp-content/uploads/2023/07/battery-health-charging1-1280x720.png" alt="With the Battery Health Charging extension, you set limits for recharging the battery." style="width:100%"/><button
			class="lightbox-trigger"
			type="button"
			aria-haspopup="dialog"
			data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
			data-wp-init="callbacks.initTriggerButton"
			data-wp-on--click="actions.showLightbox"
			data-wp-style--right="state.thisImage.buttonRight"
			data-wp-style--top="state.thisImage.buttonTop"
		>
			<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
				<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
			</svg>
		</button><figcaption class="wp-element-caption">With the Battery Health Charging extension for the GNOME desktop, you set limits for recharging the battery.</figcaption></figure>



<figure data-wp-context="{&quot;imageId&quot;:&quot;6b1249968ac96&quot;}" data-wp-interactive="core/image" data-wp-key="6b1249968ac96" class="wp-block-image size-large is-resized wp-lightbox-container"><img loading="lazy" decoding="async" height="800" sizes="auto, (max-width: 781px) 100vw, 680px" srcset="https://linuxundich.de/wp-content/uploads/2023/07/battery-health-charging2-640x400.png 640w, https://linuxundich.de/wp-content/uploads/2023/07/battery-health-charging2-768x480.png 768w, https://linuxundich.de/wp-content/uploads/2023/07/battery-health-charging2-1280x800.png 1280w, https://linuxundich.de/wp-content/uploads/2023/07/battery-health-charging2-1536x960.png 1536w, https://linuxundich.de/wp-content/uploads/2023/07/battery-health-charging2.png 1600w" width="1280" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" src="https://linuxundich.de/wp-content/uploads/2023/07/battery-health-charging2-1280x800.png" alt="The extension supports many manufacturers, from Asus and Dell to TUXEDO." class="wp-image-42329" style="width:100%"/><button
			class="lightbox-trigger"
			type="button"
			aria-haspopup="dialog"
			data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
			data-wp-init="callbacks.initTriggerButton"
			data-wp-on--click="actions.showLightbox"
			data-wp-style--right="state.thisImage.buttonRight"
			data-wp-style--top="state.thisImage.buttonTop"
		>
			<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
				<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
			</svg>
		</button><figcaption class="wp-element-caption">Battery Health Charging supports numerous manufacturers: from Asus and Dell to the Linux laptops from TUXEDO.</figcaption></figure>



<p class="wp-block-paragraph"><br></p>
<hr><p>☕ <strong>Support Linux und Ich</strong><br>Thanks for reading <a href="https://linuxundich.de/en/">Linux und Ich</a>. If you enjoy the blog and would like to support my work, you will find more information on the <a href="https://linuxundich.de/en/support/">donation page</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://linuxundich.de/en/battery-health-charging-extend-your-battery-s-lifespan-on-gnome/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
