1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/powertop.md
serjepatoff a31cabb9fc
powertop: add --time example (#10601)
Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-08-17 17:44:15 +02:00

20 lines
451 B
Markdown

# powertop
> Optimize battery power usage.
> More information: <https://github.com/fenrus75/powertop>.
- Calibrate power usage measurements:
`sudo powertop --calibrate`
- Generate HTML power usage report in the current directory:
`sudo powertop --html={{power_report.html}}`
- Tune to optimal settings:
`sudo powertop --auto-tune`
- Generate a report for a specified number of seconds (instead of 20 by default):
`sudo powertop --time={{5}}`