Advertisement
Guest User

Untitled

a guest
Aug 9th, 2017
458
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. #Rule for activating / deactivating power saving on battery
  2. # runs /bin/XPSpower
  3. #Other tunables are in kernel line, module load etc.
  4. #SUBSYSTEM=="power_supply", ATTR{status}=="Discharging", RUN+="/bin/XPSpower auto"
  5. #SUBSYSTEM=="power_supply", ATTR{status}=="Charging", RUN+="/bin/XPSpower auto"
  6. #SUBSYSTEM=="power_supply", ATTR{online}=="0", RUN+="/bin/XPSpower auto"
  7. #SUBSYSTEM=="power_supply", ATTR{online}=="1", RUN+="/bin/XPSpower auto"
  8. #New, different test, may work better?
  9. ACTION=="change", SUBSYSTEM=="power_supply", RUN+="/bin/XPSpower auto"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement