Looks OK.
Energy. Battery has N joules (power * time). Look at powers.
Also, in real life, depending on battery chemistry, it may be inaccurate. How inaccurate depends on pulse rate, battery chemistry, internal resistance, ... If you're never discharging the battery faster than 1C, it's probably OK.