I am trying to create a live notification icon for my desktop application on Windows in WPF, XAML , C#.
The icon should show on the notification tray and indicate how much battery is left for the person (attached image).
This is similar to the battery notification icons (3 hours left) and WIFI connectivity live icons one usually sees in the notification tray.
How do I create a live icon, which changes as the user's "battery" depletes.enter image description here