Powercfg is a command-line tool for managing and configuring power settings on Windows systems.
- Energy Report: powercfg /energy generates a detailed report of energy efficiency and power consumption issues.
- Battery Report: powercfg /batteryreport provides a comprehensive battery usage report, including charge cycles and capacity history.
- Sleep Study: powercfg /sleepstudy analyzes sleep states and provides insights into what is preventing the system from sleeping efficiently.
- List All Power Schemes: powercfg /list displays all available power schemes on the system.
- Change Power Scheme: powercfg /setactive sets the specified power scheme as active.
- Hibernate Settings: powercfg /hibernate on|off enables or disables the hibernation feature.
- Wake Timers: powercfg /waketimers lists all active wake timers that can wake the system from sleep or hibernation.
- Device Query: powercfg /devicequery lists devices that meet specific criteria, such as those capable of waking the system.
- Last Wake Event: powercfg /lastwake shows information about the most recent event that woke the system from sleep.
- System Sleep Diagnostics: powercfg /systemsleepdiagnostics provides detailed information about system sleep transitions and issues.
- Power Requests: powercfg /requests lists applications and drivers currently requesting to prevent sleep or display idle states.
- Export Power Scheme: powercfg /export exports a power scheme to a file for backup or transfer purposes.
- Import Power Scheme: powercfg /import imports a power scheme from a file.
- Restore Default Schemes: powercfg /restoredefaultschemes resets all power schemes to their default settings.
Examples of the uses below.
1. powercfg /list
Description: Lists all available power schemes
Example: powercfg /list
2. powercfg /query
Description: Displays the contents of a power scheme
Example: powercfg /query SCHEME_BALANCED
3. powercfg /change
Description: Modifies a setting in the current power scheme
Example: powercfg /change monitor-timeout-ac 15
4. powercfg /setactive
Description: Sets the active power scheme
Example: powercfg /setactive SCHEME_MAX
5. powercfg /export
Description: Exports a power scheme to a file
Example: powercfg /export C:\PowerSchemes\MyScheme.pow SCHEME_BALANCED
6. powercfg /import
Description: Imports a power scheme from a file
Example: powercfg /import C:\PowerSchemes\MyScheme.pow
7. powercfg /delete
Description: Deletes a power scheme
Example: powercfg /delete SCHEME_GUID
8. powercfg /duplicatescheme
Description: Creates a copy of an existing power scheme
Example: powercfg /duplicatescheme SCHEME_BALANCED 11111111-1111-1111-1111-111111111111
9. powercfg /setacvalueindex
Description: Sets the AC power value for a power setting
Example: powercfg /setacvalueindex SCHEME_CURRENT SUB_VIDEO VIDEOIDLE 900
10. powercfg /setdcvalueindex
Description: Sets the DC power value for a power setting
Example: powercfg /setdcvalueindex SCHEME_CURRENT SUB_VIDEO VIDEOIDLE 300
11. powercfg /hibernate
Description: Enables or disables hibernate
Example: powercfg /hibernate on
12. powercfg /batteryreport
Description: Generates a battery report
Example: powercfg /batteryreport /output C:\battery-report.html
13. powercfg /sleepstudy
Description: Generates a sleep study report
Example: powercfg /sleepstudy /output C:\sleep-study.html
14. powercfg /requests
Description: Shows active power requests
Example: powercfg /requests
15. powercfg /devicequery
Description: Lists devices based on their power management capabilities
Example: powercfg /devicequery wake_armed