Giter Site home page Giter Site logo

limitbat's Introduction

image

you can find compiled binaries in release section, and to run plz execute the sudo_limitbat file :)

to build from source, install flutter, clone the repo, cd into the project, run flutter pub get, run flutter build linux --release, and you'll find the binary in build/linux/x64/release/bundle/

Have fun :)

limitbat's People

Contributors

stem-lg avatar

Stargazers

Amine Mahjoub avatar Vladislav Zheltov avatar  avatar Valentin Ivanov avatar Sergey Solovyev avatar Valentin avatar Jorge Ronald Cribb avatar Sooraj avatar Yuri avatar Vlad Voloshyn avatar  avatar  avatar Yakov Till avatar Kamenka Dzmitry avatar oybek avatar  avatar

Watchers

Sooraj avatar  avatar

limitbat's Issues

Hard Coded file paths are incorrect

Looking through the source code and it was makes reference to some files that don't exist on my system:

"final tempLimitFile = File('/sys/class/power_supply/BAT0/charge_control_end_threshold');
final permLimitFile = File('/etc/systemd/system/bat-boot.service');"

Unfortunately on my system neither of these files exist. I'm not sure what defines the file structure but if the intention is for this program to work on a range of systems, which is not necessarily a good idea, it will have to be changed.

But I'm probably jumping the gun, this project is in its early stages and I don't have enough experience with dart or linux to be more helpful.

This is the contents of "/sys/class/power_supply/BAT0/subsystem/BAT0" if it helps. And all of the files that may be helpful are saved in their raw form and not as a percentage.
image

Awesome project regardless keep it up!

Pre Compiled Version unable to execute

I downloaded the V0.5-beta.1 and running script attempts to grab files from a non-existent directory.
I.e. the error reads

"/usr/bin/env: ‘/opt/limitbat/limitbat’: No such file or directory"

Running kubuntu 22.04.

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.