title: How to Draw the battery level like on android or i-phones in WPF on the GUI
body: <p>I want to display the battery charging status in WPF (xaml and c#) similar to how it's displayed on an android phone where the inner part changes according to the battery percentage like displayed in the picture is there anyway to do this without using the progress bar to act like a pseudo battery level indicator?</p>
  
  <p><a href="https://i.stack.imgur.com/4son5.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4son5.jpg" alt="Battery charging status"></a></p>
  
  <p>I'm new to WPF and I haven't tried any code for this yet If any more details are required please let me know.
  I found some <a href="http://csharphelper.com/blog/2016/01/display-battery-status-friendly-way-c/" rel="nofollow noreferrer">CODE</a> that implements it using c# but I'm not sure how to integrate that with WPF.</p>