This test validates the BatteryManager interface IDL.
This test uses idlharness.js, and is complementary to the battery-interface.html test.