Small battery monitor script for docking WM