Using imp to monitor power directly (this didn't work, the measureable low-battery condition doesn't last long enough, but I got to try out the sampler)