Giter Club home page Giter Club logo

Comments (3)

DevNulPavel avatar DevNulPavel commented on June 20, 2024

@EugeneSnihovsky

Hello
It looks like there is no BLCM value in your SMC. You can try to run smc util directly from subfolder and look for other battery values. It starts from BL* prefix.

For example:
./smc -l | grep "BC"

from osx_battery_charge_limit.

EugeneSnihovsky avatar EugeneSnihovsky commented on June 20, 2024

It seem that I don't have anything that can be used ?

./smcutil -l            
  #KEY  [ui32]  65  (bytes 00 00 00 41)
  $Adr  [ui32]  768  (bytes 00 00 03 00)
  $Num  [ui8 ]  1  (bytes 01)
  BATP  [flag]  FALSE  (bytes 00)
  BEMB  [flag]  TRUE  (bytes 01)
  CLKH  [{clh]  (bytes 00 00 70 80 00 01 19 40)
  CLKT  [ui32]  50984  (bytes 00 00 c7 28)
  CLWK  [ui16]  65535  (bytes ff ff)
  CRCA  [ui32]  -37901399  (bytes fd bd ab a9)
  CRCB  [ui32]  -1647211523  (bytes 9d d1 8b fd)
  CRCC  [ui32]  -2087022690  (bytes 83 9a 8f 9e)
  CRCF  [ui32]  -1541953902  (bytes a4 17 a6 92)
  CRCK  [ui32]  0  (bytes 00 00 00 00)
  CRCR  [ui32]  622031175  (bytes 25 13 71 47)
  CRCU  [ui32]  -1852440601  (bytes 91 95 ff e7)
  CRCa  [ui32]  -37901399  (bytes fd bd ab a9)
  CRCb  [ui32]  -1647211523  (bytes 9d d1 8b fd)
  CRCc  [ui32]  -2087022690  (bytes 83 9a 8f 9e)
  CRCr  [ui32]  622031175  (bytes 25 13 71 47)
  CRCu  [ui32]  -1852440601  (bytes 91 95 ff e7)
  DPLM  [{lim]  (bytes 00 00 00 00 00)
  DUSR  [ui8 ]  0  (bytes 00)
  EFBM  [ui8 ]  0  (bytes 00)
  EFBP  [ui8 ]  0  (bytes 00)
  EPCI  [ui32]  135327744  (bytes 08 10 f0 00)
  EVCT  [hex_]  (bytes 00 00)
  EVHF  [ch8*]    (bytes 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
  EVRD  [ch8*]    (bytes 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
  FAC0  [ui8 ]  0  (bytes 00)
  FNum  [ui8 ]  0  (bytes 00)
  HBKP  [ch8*]    (bytes 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00)
  LDKN  [ui8 ]  2  (bytes 02)
  LDLG  [ch8*]    (bytes 00)
  LDSP  [flag]  FALSE  (bytes 00)
  LsNM  [ui8 ]  0  (bytes 00)
  MSDW  [flag]  FALSE  (bytes 00)
  MSFW  [flag]  FALSE  (bytes 00)
  MSPC  [ui8 ]  25  (bytes 19)
  MSPP  [ui8 ]  0  (bytes 00)
  MSPR  [ui8 ]  0  (bytes 00 01)
  MSPS  [hex_]  (bytes 00 04)
  MSQC  [ui8 ]  0  (bytes 00)
  MSSD  [si8 ]  5  (bytes 05)
  MSSP  [si8 ]  5  (bytes 05)
  MSSW  [flag]  FALSE  (bytes 00)
  MSTc  [ui8 ]  0  (bytes 00)
  MSTe  [ui8 ]  0  (bytes 00)
  MSTf  [ui8 ]  0  (bytes 00)
  MSTi  [ui8 ]  0  (bytes 00)
  MSTj  [ui8 ]  0  (bytes 00)
  MSTm  [ui8 ]  0  (bytes 00)
  MSWr  [ui8 ]  0  (bytes 00)
  NATJ  [ui8 ]  0  (bytes 00)
  NATi  [ui16]  0  (bytes 00 00)
  NTOK  [ui8 ]  0  (bytes 00)
  OSWD  [ui16]  0  (bytes 00 00)
  RGEN  [ui8 ]  2  (bytes 02)
  RMAC  [ch8*]  123456  (bytes 31 32 33 34 35 36)
  RMSN  [ch8*]  C02007700GU00001F  (bytes 43 30 32 30 30 37 37 30 30 47 55 30 30 30 30 31 46)
  RMde  [char]  (bytes 41)
  RPlt  [ch8*]  j215  (bytes 6a 32 31 35 00 00 00 00)
  RSSN  [ch8*]  C02C86ZBMD6T  (bytes 43 30 32 43 38 36 5a 42 4d 44 36 54 00 00 00 00)
  RVCR  [{rev]  (bytes ff ff ff ff ff ff)
  WKTP  [ui8 ]  0  (bytes 00)

from osx_battery_charge_limit.

DevNulPavel avatar DevNulPavel commented on June 20, 2024

@EugeneSnihovsky
Yes, unfortunately you don't have required field in SMC. It won't work on your system.

from osx_battery_charge_limit.

Related Issues (9)

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.