public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/powerdevil] f44: Merge branch 'rawhide' into f45
@ 2026-10-30 14:30 Steve Cossette
0 siblings, 0 replies; only message in thread
From: Steve Cossette @ 2026-10-30 14:30 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/powerdevil
Branch : f44
Commit : 54c8212eea1fc838605e9b160c8c16c5b1efedc8
Author : Steve Cossette <steve@ninjasinpajamas.ca>
Date : 2026-10-22T20:53:45-04:00
Stats : +57/-4 in 4 file(s)
URL : https://src.fedoraproject.org/rpms/powerdevil/c/54c8212eea1fc838605e9b160c8c16c5b1efedc8?branch=f44
Log:
Merge branch 'rawhide' into f45
---
diff --git a/.gitignore b/.gitignore
index c57de93..42e6293 100644
--- a/.gitignore
+++ b/.gitignore
@@ -30,3 +30,7 @@
/powerdevil-6.7.3.tar.xz.sig
/powerdevil-6.7.4.tar.xz.sig
/powerdevil-6.7.5.tar.xz.sig
+/powerdevil-6.7.90.tar.xz.sig
+/powerdevil-6.7.91.tar.xz.sig
+/powerdevil-6.8.0.tar.xz.sig
+/powerdevil-6.8.1.tar.xz.sig
diff --git a/powerdevil.spec b/powerdevil.spec
index 9628ca2..dae09f5 100644
--- a/powerdevil.spec
+++ b/powerdevil.spec
@@ -1,6 +1,6 @@
Name: powerdevil
-Version: 6.7.5
-Release: 3%{?dist}
+Version: 6.8.1
+Release: 1%{?dist}
Summary: Manages the power consumption settings of a Plasma Shell
License: BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-only AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only)
@@ -145,9 +145,21 @@ rm -fv %{buildroot}/%{_libdir}/libpowerdevil{configcommonprivate,core,ui}.so
%changelog
+* Tue Oct 20 2026 Steve Cossette <steve@ninjasinpajamas.com> - 6.8.1-1
+- 6.8.1
+
+* Fri Oct 09 2026 Steve Cossette <farchord@gmail.com> - 6.8.0-1
+- 6.8.0
+
* Sun Oct 04 2026 Steve Cossette <farchord@gmail.com> - 6.7.5-3
- Added fix for battery meter bug
+* Thu Sep 24 2026 Steve Cossette <farchord@gmail.com> - 6.7.91-1
+- 6.7.91
+
+* Thu Sep 10 2026 Steve Cossette <farchord@gmail.com> - 6.7.90-1
+- 6.7.90
+
* Wed Sep 09 2026 Steve Cossette <farchord@gmail.com> - 6.7.5-2
- Rebuild for Qt Update
diff --git a/sources b/sources
index eab48da..8d3ee3c 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-SHA512 (powerdevil-6.7.5.tar.xz) = 93af580e2bc0a3a6c354c0a1c08bdc93b4355fddeabb461a1a1f6b9026d437fb5f70e046c9e5542e298a8852c792bbd134a445cc8ab4ede8e36a3965c14823fc
-SHA512 (powerdevil-6.7.5.tar.xz.sig) = cd5ca0bb0388e5d943995f0cfb36c74ce7b1ada25a9a1e86733a5dcd9e00e2c6ea455380ab7f1df63a94f803ecadb596bab2956ece304017bc226597d4191c18
+SHA512 (powerdevil-6.8.1.tar.xz) = c2f2a46d051d99273631ea15404da9c641995c3176b351f2e490d4fb113a91da619c6558489a44b938d5939458a68b18d3ae5d217a2a7b343a76ded7735b7d17
+SHA512 (powerdevil-6.8.1.tar.xz.sig) = db7a12a0f00d981492e765edf98b723de3fbd06182f530e8dd256285be10368d6c24dc1f0395353b89b826edfb2f02d5f4c8a14abc6528f4b6fe1864138e3994
diff --git a/677.patch b/677.patch
new file mode 100644
index 0000000..6c4e5ac
--- /dev/null
+++ b/677.patch
@@ -0,0 +1,32 @@
+From 54f8a4a848fa02d06fefc5543f35224eef73670c Mon Sep 17 00:00:00 2001
+From: Matthias Kurz <m.kurz@irregular.at>
+Date: Wed, 19 Aug 2026 17:51:12 +0200
+Subject: [PATCH] Avoid low battery alerts for unknown percentages
+
+Peripheral batteries with an unavailable charge return a negative percentage. Exclude all non-positive values from low-battery notification handling so an unknown device cannot be mistaken for an empty one.
+
+(cherry picked from commit 78e99fd944a0da0d82b46d02251a8631f005f5ba)
+---
+ daemon/powerdevilcore.cpp | 6 +++---
+ 1 file changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/daemon/powerdevilcore.cpp b/daemon/powerdevilcore.cpp
+index 50d936c20..fabcc671d 100644
+--- a/daemon/powerdevilcore.cpp
++++ b/daemon/powerdevilcore.cpp
+@@ -521,9 +521,9 @@ bool Core::emitBatteryChargePercentNotification(int currentPercent, int previous
+ return false;
+ }
+
+- // if you leave the device out of reach or it has not been initialized yet
+- // it won't be "there" and report 0%, don't show anything in this case
+- if (!b->isPresent() || b->chargePercent() == 0) {
++ // If you leave the device out of reach or it has not been initialized yet,
++ // it won't be "there" and can report an empty or unknown percentage.
++ if (!b->isPresent() || b->chargePercent() <= 0) {
+ return false;
+ }
+
+--
+GitLab
+
diff --git a/powerdevil.spec b/powerdevil.spec
index 65b795a..dae09f5 100644
--- a/powerdevil.spec
+++ b/powerdevil.spec
@@ -9,6 +9,8 @@ URL: https://invent.kde.org/plasma/%{name}
Source0: https://download.kde.org/%{stable_kf6}/plasma/%{version}/%{name}-%{version}.tar.xz
Source1: https://download.kde.org/%{stable_kf6}/plasma/%{version}/%{name}-%{version}.tar.xz.sig
+Patch0: 677.patch
+
# Plasma Dependencies
BuildRequires: plasma-workspace-devel
@@ -149,6 +151,9 @@ rm -fv %{buildroot}/%{_libdir}/libpowerdevil{configcommonprivate,core,ui}.so
* Fri Oct 09 2026 Steve Cossette <farchord@gmail.com> - 6.8.0-1
- 6.8.0
+* Sun Oct 04 2026 Steve Cossette <farchord@gmail.com> - 6.7.5-3
+- Added fix for battery meter bug
+
* Thu Sep 24 2026 Steve Cossette <farchord@gmail.com> - 6.7.91-1
- 6.7.91
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-10-30 14:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-30 14:30 [rpms/powerdevil] f44: Merge branch 'rawhide' into f45 Steve Cossette
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox