Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
batteryd
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SystemCshee
batteryd
Commits
a50e00f2
Commit
a50e00f2
authored
2 years ago
by
Zámolyi Csaba Ferenc
Browse files
Options
Downloads
Patches
Plain Diff
Update batteryd.conf.example
parent
5e4ac4ef
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
batteryd.conf.example
+6
-2
6 additions, 2 deletions
batteryd.conf.example
with
6 additions
and
2 deletions
batteryd.conf.example
+
6
−
2
View file @
a50e00f2
...
...
@@ -5,12 +5,16 @@
#
#
# There are three available battery levels: HALF, LOW, CRITICAL and their percentage value can be configured
# The values must be between 0 and 100 (although using 0 would not make much sense)
# The following has to be true for a valid configuration:
# TRESHOLD_HALF > TRESHOLD_LOW > TRESHOLD_CRITICAL
#
# The actions can be as follows:
# - "ignore": it does not do any action, and skips all other actions supplied for the given battery level.
# If no action is supplied for a level, batteryd will default to "ignore"
# - "notify": sends a notification to the user and informs them about the battery percentage via notify-send
# - "sleep": suspends system to RAM
, waits fo
r a configured amount of time.
# - "shutdown": gracefully shuts down the system
, waits fo
r a configured amount of time.
# - "sleep": suspends system to RAM
afte
r a configured amount of time.
(WAIT_TIME_SLEEP)
# - "shutdown": gracefully shuts down the system
afte
r a configured amount of time.
(WAIT_TIME_SHUTDOWN)
# You can assign more actions to a battery level, separated by commas (no trailing comma and whitespace after comma allowed)
# The daemon will execute the actions in the order they are specified so "shutdown,notify" will not make any sense
# if WAIT_TIME_SHUTDOWN is set to 0
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment