• batteryreport Data Reset

    Home » Forums » AskWoody support » Windows » Windows 10 » Questions: Win10 » batteryreport Data Reset

    Author
    Topic
    #2391682

    I have a 4 year old Dell laptop in which I recently replaced the internal battery. I have used powercfg /batteryreport in the past to view historical data on the battery. (ref: https://docs.microsoft.com/en-us/windows-hardware/design/device-experiences/powercfg-command-line-options )

    After having replaced the battery, all the data associated with the old, original battery remains; something which I find to be useless. It also interferes with my tracking the performance of my new battery.

    I would like to delete the old data, but cannot find any way to do so.

    Anyone been successful at resetting the historical battery data so the old data is deleted?

    Thanks

    Viewing 0 reply threads
    Author
    Replies
    • #2391806

      DELete C:\Windows\System32\batteryreport.html
      Note that the file deletes to the Recycle Bin of the Admin user.
      This command requires an elevated Command Prompt, hence the user is System32.
      = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
      C:\WINDOWS\system32>powercfg /batteryreport /?

      POWERCFG /BATTERYREPORT [/OUTPUT ] [/XML] [/TRANSFORMXML ]

      Description:
      Generates a report of battery usage characteristics over the lifetime of the
      system. The BATTERYREPORT command will generate an HTML report file in the
      current path.

      Parameter List:
      /OUTPUT Specify the path and filename to store the battery
      report HTML or XML file.

      /XML Format the report file as XML.

      /DURATION Specify the number of days to analyze for the report.

      /TRANSFORMXML Reformat an XML report file as HTML.

      Examples:
      POWERCFG /BATTERYREPORT
      POWERCFG /BATTERYREPORT /OUTPUT “batteryreport.html”
      POWERCFG /BATTERYREPORT /OUTPUT “batteryreport.xml” /XML
      POWERCFG /BATTERYREPORT /TRANSFORMXML “batteryreport.xml”
      POWERCFG /BATTERYREPORT /TRANSFORMXML “batteryreport.xml” /OUTPUT “batteryreport.html”

      C:\WINDOWS\system32>powercfg /batteryreport /output \Users\Paul\Desktop\BatRpt.html
      Battery life report saved to file path C:\Users\Paul\Desktop\BatRpt.html.

      C:\WINDOWS\system32>
      = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
      (emphasis added)

      • #2392181

        Simply directing the output report from the powercfg /batteryreport command to a different location on the HDD does not delete any of the historical data.

        Please review the original post as to what I am trying to achieve.

        Thanks for your reply

    Viewing 0 reply threads
    Reply To: batteryreport Data Reset

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: