From 8e14993633752825a87efc704affc59f0aca493c Mon Sep 17 00:00:00 2001 From: zach Date: Wed, 27 May 2026 23:22:09 +0200 Subject: [PATCH] debug logging of battery percent props --- Daemons/Battery.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/Daemons/Battery.qml b/Daemons/Battery.qml index ba346bd..e3dbde1 100644 --- a/Daemons/Battery.qml +++ b/Daemons/Battery.qml @@ -36,6 +36,7 @@ Scope { for (const perc of root.popupThresholds) { if (p <= perc.perc && !perc.warned) { perc.warned = true; + console.log(perc.warned + "\n" + [...Config.general.battery.popupThresholds][0].warned); Toaster.toast(perc.title ?? qsTr("Battery warning"), perc.message ?? qsTr("Battery perc is low"), perc.icon ?? "battery_android_alert", perc.critical ? Toast.Error : Toast.Warning); } }