org.gnome.shell.extensions.battery-threshold.gschema.xml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <schemalist>
  3. <enum id="org.gnome.shell.extensions.thinkpad-battery-threshold.indicator-mode">
  4. <value value="0" nick="ACTIVE" />
  5. <value value="1" nick="INACTIVE" />
  6. <value value="2" nick="ALWAYS" />
  7. <value value="3" nick="NEVER" />
  8. </enum>
  9. <schema id="org.gnome.shell.extensions.thinkpad-battery-threshold" path="/org/gnome/shell/extensions/thinkpad-battery-threshold/">
  10. <!-- See also: https://docs.gtk.org/glib/gvariant-format-strings.html -->
  11. <!-- UI settings -->
  12. <key name="indicator-mode" enum="org.gnome.shell.extensions.thinkpad-battery-threshold.indicator-mode">
  13. <default>"ACTIVE"</default>
  14. <summary>Set when the Icon tray should appear in Gnome tray</summary>
  15. </key>
  16. <key name="show-current-values" type="b">
  17. <default>true</default>
  18. <summary>Show current threshold values in labels</summary>
  19. </key>
  20. <key name="show-notifications" type="b">
  21. <default>true</default>
  22. <summary>Show notifications</summary>
  23. </key>
  24. <key name="color-mode" type="b">
  25. <default>true</default>
  26. <summary>Color mode</summary>
  27. </key>
  28. <!-- Thresholds values -->
  29. <key name="start-bat0" type="i">
  30. <default>75</default>
  31. <summary>Start charging when the level is below this value</summary>
  32. </key>
  33. <key name="end-bat0" type="i">
  34. <default>80</default>
  35. <summary>Stop charging when the level is above this value</summary>
  36. </key>
  37. <key name="start-bat1" type="i">
  38. <default>0</default>
  39. <summary>Start charging when the level is below this value</summary>
  40. </key>
  41. <key name="end-bat1" type="i">
  42. <default>100</default>
  43. <summary>Stop charging when the level is above this value</summary>
  44. </key>
  45. </schema>
  46. </schemalist>