This example code reports power status (plugged in, battery level, etc).
