r6: display battery info on system tray icon.
r7: make 'shutdown' and 'reboot' work.