Code Monkey home page Code Monkey logo

Comments (6)

Danby108 avatar Danby108 commented on May 24, 2024 1

I have learned that the M1 does not have an SMC, and thus there is no key to write to. Unfortunately there is no option for us :(

All the functions the SMC handled are now embedded in the M1 processor. That must include recharging the battery.
So the lack of an SMC does NOT mean there's no way to limit the battery charging level.

It does explain why the two utilities I've tried, which reference BCLM, don't do what they were intended to do on my M1 Mac.

Clearly a new version of charge-limiter is needed, which will:
First determine if it's running on an older mac with an SMC, or a newer M1 Mac.
If it's running on an older mac, then it should apply the existing code.
If it's running on a newer M1 Mac, then it should apply a new approach, which ought to be possible.

If godly-devotion is willing to attempt this new version, I'd be willing to sponsor him/her/them with a $20 contribution.

from charge-limiter.

isaacnorwich avatar isaacnorwich commented on May 24, 2024

I am also having this error. M1 Macbook Pro with Apple M1 Pro chip on macOS Monterey. Same things happens to me when i type the same command sudo /Applications/Charge\ Limiter.app/Contents/Resources/bclm write 80 in the terminal.

from charge-limiter.

AdinAck avatar AdinAck commented on May 24, 2024

I have learned that the M1 does not have an SMC, and thus there is no key to write to. Unfortunately there is no option for us :(

I did have an idea to overwrite the ML model that determines when to hold at 80% with one that always outputs True, and I have created the file, but cannot figure out how to overwrite system files.

from charge-limiter.

isaacnorwich avatar isaacnorwich commented on May 24, 2024

How does AlDente (https://github.com/davidwernhart/AlDente) work then with M1 Macs? Thanks for the info though!

from charge-limiter.

AdinAck avatar AdinAck commented on May 24, 2024

It just disconnects the charger until the desired battery level is reached. The unfortunate thing about this is that clamshell doesn't work with it as clamshell is only enabled when connected to power, that is why I resorted to forcing the ML model to handle the SOC decrease.

from charge-limiter.

Danby108 avatar Danby108 commented on May 24, 2024

Update: Limiting the battery charge is DEFINITELY possible on the M1 machines, since the AlDente app is successfully doing it. However, the charging indicator light is incorrectly showing that it's charging when it's not.

from charge-limiter.

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.