Giter Club home page Giter Club logo

batterynotif's Introduction

batterynotif

Battery Level Notifier when Linux fails to. I was frustrated that linux didn't notify me the battery level and caused many times for my laptop to shutdown unsafely. So I searched for answers on the internet, compiled them to a script which notifies you when battery is full, low and shutdowns when power is critically low.

This work is based on a couple of answers I found on the internet,

http://unix.stackexchange.com/a/190155 http://askubuntu.com/a/519045 https://bbs.archlinux.org/viewtopic.php?id=162900 http://askubuntu.com/a/277224

I will add others later. I have only made some additions.

I am not an expert in shell script and hence there may be some unessecary code. Any corrections is gladly welcome for an efficent implementation.

The two shell scripts does the same thing, one uses ACPI and other uses uname. Choose the one which works for you.

You can run the scripts automatically by either using cron or just adding to autostart. The ACPI one may need editing to work in intervals.

Install Download the .desktop configuration file and copy to /home/.conf/autostart Create a script folderinside /home/.conf/autostart and paste the acpi or uname file You should be set.

batterynotif's People

Contributors

jerrinfrncs avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.