For something not that accurate you could just poke at lshal | grep battery.reporting.current over a couple of minutes to get you your average drain over that period. then - now / timeperiod