From 4167045642d8186c9c993aded49ab3954fc67748 Mon Sep 17 00:00:00 2001 From: Devin Lin Date: Thu, 20 Mar 2025 10:53:16 -0400 Subject: [PATCH] mobileshellsettings: Show battery % by default Fixes: https://invent.kde.org/plasma/plasma-mobile/-/issues/458 See hte issue for details. --- components/shellsettingsplugin/mobileshellsettings.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/shellsettingsplugin/mobileshellsettings.cpp b/components/shellsettingsplugin/mobileshellsettings.cpp index 7c210419..a5ca128e 100644 --- a/components/shellsettingsplugin/mobileshellsettings.cpp +++ b/components/shellsettingsplugin/mobileshellsettings.cpp @@ -118,7 +118,7 @@ void MobileShellSettings::setStatusBarScaleFactor(float statusBarScaleFactor) bool MobileShellSettings::showBatteryPercentage() const { auto group = KConfigGroup{m_config, GENERAL_CONFIG_GROUP}; - return group.readEntry("showBatteryPercentage", false); + return group.readEntry("showBatteryPercentage", true); } void MobileShellSettings::setShowBatteryPercentage(bool showBatteryPercentage)