if test -f /sys/class/power_supply/BAT0/power_now
    function power_now
        awk '{ print $1*10^-6 " W" }' /sys/class/power_supply/BAT0/power_now
    end
end
