Git Product home page Git Product logo

Comments (7)

nekr0z avatar nekr0z commented on July 18, 2024

First of all, you shouldn't use batpro and fnlock scripts if you can manage without them. These are dirty hacks, and readme explicitly states that you should use the the driver instead. Since you're using kernel 5.3, the driver is already there, so why would you even need the script?

from linux-on-huawei-matebook-13-2019.

melvinkcx avatar melvinkcx commented on July 18, 2024

How do I adjust the battery protection threshold with the default driver?

from linux-on-huawei-matebook-13-2019.

nekr0z avatar nekr0z commented on July 18, 2024

Several options there:

Mind you, all those options are referenced in README or on the pages it links to.

from linux-on-huawei-matebook-13-2019.

melvinkcx avatar melvinkcx commented on July 18, 2024

Thanks for the prompt reply, I did try all of the above, but to no avail. The directory sys/devices/platform/huawei-wmi simply doesn't exist in my case, any clue?
Screenshot from 2019-11-23 19-10-03

from linux-on-huawei-matebook-13-2019.

nekr0z avatar nekr0z commented on July 18, 2024

Might be that you have older version (2.0) of the driver bundled with your kernel. Grab a new one. As far as I remember, battery protection is governed since version 3.0.

from linux-on-huawei-matebook-13-2019.

melvinkcx avatar melvinkcx commented on July 18, 2024

@nekr0z Thank you very much! I had to build and install the new driver from source, it is indeed working now

from linux-on-huawei-matebook-13-2019.

nekr0z avatar nekr0z commented on July 18, 2024

You're welcome.

from linux-on-huawei-matebook-13-2019.

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.