add battery script to status line