title: Programmatically open Windows 10 Battery Flyout
body: <p>I want my application (written in C#) to open the Windows 10 battery/power flyout (see below). I have searched the internet for answers or other implementations, without any success.</p>
  <p>I am suspecting it has something to do with <code>ShellExperienceHost.exe</code>, as the flyout window itself belongs to that process and also there is a DLL named <code>BatteryFlyoutExperience.dll</code> in the same folder, although that only exports two functions:</p>
  <pre><code>DllCanUnloadNow
  DllGetActivationFactory
  </code></pre>
  <p>As I am not very good with reverse-engineering unmanaged assemblies, it is unfortunately out of my comfort zone to decompile <code>ShellExperienceHost.exe</code> and peek inside.</p>
  <p>Now my question, has anyone else found a possibility to open said flyout from C# code (P/Invoke is totally fine)?</p>
  <p>By the way, this is the flyout I am talking about:</p>
  <img src="https://i.stack.imgur.com/LkulR.png" width="300">