Xfce Wiki

Sub domains
 

How to set critical power upper bound to 100% for testing

  • Search for “critical-power-level-spin-adjustment” in data/interfaces/xfpm-settings.ui
  • Set upper to 100
  • Search for “xfpm_settings_advanced” in settings/xfpm-settings.c
  • Replace “( val > 20 || val < 1)” with “( val > 100 || val < 1)”
  • make
  • sudo make installal level
  • set critical level in xfce4-power-manager-settings at least 2 points below current level (displayed level often not up to date, compared to internal level)
  • xfce4-power-manager –restart
Lowering the critical level below the current level after xfce4-power-manager got started will not trigger any “on critical” action. (NO state change in xfpm-battery)