-
Notifications
You must be signed in to change notification settings - Fork 99
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add battery checker #30
Comments
@fossfreedom I have wrote a bash script but it requires acpi to be installed |
sounds interesting - any chance you can copy and paste the contents of the bash script here? |
@fossfreedom this is the code
For notifiying we have to simply use a conditional statement like if and use zenity message code or notify-send |
looks like from this that the battery values can be obtained directly from /sys/ without any need for installing extra packages: |
@fossfreedom Cool man, are you gonna add this function in your new release or we users have to add it ourselves. I have no python skills and have no idea how to use this information. |
would be more than useful to have two battery level sensors
One that monitors if the battery reaches below a given percentage before using notify-send to warn
One that monitors if the battery reaches above a given percentage before using notify-send to warn
above has a good example of how to use upower to get the value
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: