declare module "windows.system.power.diagnostics" {
  export class BackgroundEnergyDiagnostics {
    static deviceSpecificConversionFactor: Number;
    constructor();

    static computeTotalEnergyUsage(): Number;


    static resetTotalEnergyUsage(): void;


  }

  export class ForegroundEnergyDiagnostics {
    static deviceSpecificConversionFactor: Number;
    constructor();

    static computeTotalEnergyUsage(): Number;


    static resetTotalEnergyUsage(): void;


  }

}



