mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
26 lines
543 B
Plaintext
26 lines
543 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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}}`
|