title: Windows 10 - start up and shut down on power
body: <p>I'm using a Windows 10 tablets for a museum's interactive exhibit.
  Each tablet is embedded in a table and always connected to the power supply.
  I'd like to:
  - shut down Windows when AC power goes off (i.e. the device start feeding from battery). Is there an event I can use in the task scheduler? I couldn't find it.
  - start up when AC comes alive.
  Any suggestion appreciated.
  Thanks.</p>