[AGS] Improve Battery display

This commit is contained in:
2025-05-08 12:53:53 +02:00
parent a005189aef
commit c3ff5a58d6
2 changed files with 4 additions and 2 deletions

View File

@@ -127,7 +127,7 @@ const BatteryWidget = () => {
<image
iconName={bind(battery, "batteryIconName").as(icon => icon)}
cssClasses={["quick-view-symbol"]}
tooltipText={bind(battery, 'percentage').as(p => `${Math.round(p * 100)}%`)}
tooltipText={bind(battery, 'percentage').as(p => `Battery Level: ${Math.round(p * 100)}%`)}
></image>
);
} else {