Giter Club home page Giter Club logo

Comments (7)

tshakalekholoane avatar tshakalekholoane commented on May 25, 2024

I’m not sure I understand what the problem is. If you unplug your charger then the status has to rightfully show that your battery is discharging. The application merely relays what the operating system is telling it so if it says the charging status is unknown, then that is what it is reading. You mentioned it works anyway right?

What kind of start up issues are you experiencing on Manjaro?

from bat.

 avatar commented on May 25, 2024

Yeah it works.

Regarding manjaro , I get some <failed> to start the service during startup init screen. I don't find this on other distros though.

from bat.

tshakalekholoane avatar tshakalekholoane commented on May 25, 2024

Can you post the error message here? Does that mean it’s not working on Manjaro?

from bat.

 avatar commented on May 25, 2024

I'm sorry but I don't have Manjaro installed now. I'll open a new issue if I install anytime soon.

Thx for the script🙂

from bat.

 avatar commented on May 25, 2024

Hi, as I said earlier, the error is visible in manjaro because manjaro shows systemd services on startup. So, I am assuming that this is with any distro and not really an issue. From arch wiki, I got this for a similar implementation :

This error is due to the service being started before asus-wmi could be loaded by the kernel (noted as kernel: battery: new extension: ASUS Battery Extension in the journal), making it impossible to write there.
The combination of those two options allows unlimited restart of the service for DefaultStartLimitIntervalSec (set to 10 seconds by default in /etc/systemd/system.conf), leaving enough time for the sysfs path to become available and writable and thus ensuring the fastest execution of the service.

But the thing is that battery starts to charge until I select manjaro linux in grub menu( I have windows and manjaro as dual boot) and stops when the os is actually started. So, anyway to stop charging right after starting the laptop i.e.: grub menu with this tool? Thanks.

from bat.

tshakalekholoane avatar tshakalekholoane commented on May 25, 2024

No. The operating system has to load and expose the variables before systemd can write to them again i.e. set the battery charging threshold, upon restart.

from bat.

 avatar commented on May 25, 2024

ok thanks :)

from bat.

Related Issues (20)

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.