Skip to content

groks/ansible-desktop-powersave

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

desktop-powersave

An ansible role to enable power saving features on laptops with mostly Intel components.

  • disable watchdogs which keep the laptop awake
  • delay flushes to disk which let disk sleep longer
  • disable Wake On Lan for the ethernet card
  • enable power saving features of the:
    • PCI devices
    • SATA disks
  • enable the power saving features of the Intel:
    • graphics chip
    • sound chip
    • wifi card

The role should run fine on machines without Intel components, it just won't have as much effect.

---
- hosts: localhost

  roles:
    - groks.desktop-powersave

Run powertop after a reboot to verify progress.

Requirements

An installation of Fedora on an Intel laptop.

Role Variables

Wait 15 seconds before flushing disk buffers:

vars:
  - desktop_powersave_dirty_writeback_centisecs: 1500

Dependencies

None.

License

BSD

About

An ansible role to enable power saving features on laptops

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published