DevNulPavel / osx_battery_charge_limit

Intel-only Macbook (OSX) limit maximum battery charge using SMC
103 stars 8 forks source link

Does it work on Linux? #8

Open ericksuzart opened 2 years ago

ericksuzart commented 2 years ago

Hi guys, I have an old MacBook Pro 7.1 running Ubuntu and I care to my battery lifespan. This project works on Linux? Do you guys know some that works?

System:
  Kernel: 5.15.0-46-generic x86_64 bits: 64 Desktop: MATE 1.26.0
    Distro: Ubuntu 22.04.1 LTS (Jammy Jellyfish)
Machine:
  Type: Laptop System: Apple product: MacBookPro7,1 v: 1.0
    serial: <superuser required>
  Mobo: Apple model: Mac-F222BEC8 serial: <superuser required> UEFI: Apple
    v: 68.0.0.0.0 date: 06/13/2019
Battery:
  ID-1: BAT0 charge: 28.1 Wh (74.7%) condition: 37.6/62.9 Wh (59.7%)
CPU:
  Info: dual core model: Intel Core2 Duo P8600 bits: 64 type: MCP cache:
    L2: 3 MiB
  Speed (MHz): avg: 797 min/max: 798/2394 cores: 1: 796 2: 799
Graphics:
  Device-1: NVIDIA MCP89 [GeForce 320M] driver: nvidia v: 340.108
  Device-2: Apple Built-in iSight type: USB driver: uvcvideo
  Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: nvidia
    gpu: nvidia resolution: 1280x800~60Hz
  OpenGL: renderer: GeForce 320M/integrated/SSE2 v: 3.3.0 NVIDIA 340.108
Audio:
  Device-1: NVIDIA MCP89 High Definition Audio driver: snd_hda_intel
  Sound Server-1: ALSA v: k5.15.0-46-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Broadcom BCM4322 802.11a/b/g/n Wireless LAN driver: wl
  IF: wlp2s0 state: up mac: <filter>
  Device-2: Broadcom NetXtreme BCM5764M Gigabit Ethernet PCIe driver: tg3
  IF: enp3s0 state: down mac: <filter>
  IF-ID-1: docker0 state: down mac: <filter>
Bluetooth:
  Device-1: Apple Bluetooth Host Controller type: USB driver: btusb
  Report: hciconfig ID: hci0 state: up address: <filter> bt-v: 1.2
Drives:
  Local Storage: total: 111.79 GiB used: 26.66 GiB (23.8%)
  ID-1: /dev/sda vendor: Gigabyte model: GP-GSTFS31120GNTD size: 111.79 GiB
Partition:
  ID-1: / size: 108.98 GiB used: 26.65 GiB (24.5%) fs: ext4 dev: /dev/sda2
  ID-2: /boot/efi size: 511 MiB used: 5.3 MiB (1.0%) fs: vfat
    dev: /dev/sda1
Swap:
  ID-1: swap-1 type: file size: 4.07 GiB used: 1.26 GiB (30.9%)
    file: /swapfile
Sensors:
  Missing: Required tool sensors not installed. Check --recommends
Info:
  Processes: 245 Uptime: 14h 4m Memory: 3.58 GiB used: 2.83 GiB (79.1%)
  Shell: Bash inxi: 3.3.13
DevNulPavel commented 2 years ago

Hello

Unfortunately, this project supports only OSX API. I don't know any similar app for Ubuntu (((