Skip to content

battery is not charging, and command batttery charge does not work - it freezes #410

@Dejv589

Description

@Dejv589

Did you check that your issue is not already reported?

  • I opened the issues tab
  • I used the search bar to check if the issue was already reported
  • [x ] There is no issue that reports what I observed

What is the issue? (required)
The macbook is plugged in and under the limit, but is not charging. After closing the app and restarting (also disabling open at login ofc) macbook starts to charge, stops when i open the app, even tho it misses more than 20%. until the limit. When i try command battery charge [number], the command gets stuck after 23 lines and freezes, until i cancel the action.

What exactly did you do to produce the issue? (required)
Steps to reproduce the behavior:

  1. battery app is open at login, battery is at 66%, limit is set to 85
  2. plugged the computer to charger, nothing happened
  3. tried turning both charging and adapter on, but nothing happened (they did turn on, but the battery was still not charging)
  4. tried command battery charge 85, but it did nothing and freezed

Expected behavior (required)
charges autoamitcly if under the set treshold
reacts to the command charge

Screenshots (optional)
If applicable, add screenshots to help explain your problem. On a Mac you can click control+command+shift+4 to create a screenshot that you can paste into this field with command+4
.

Error logs
battery logs 50:
11/19/25-17:44:50 - Recovering maintenance percentage 85
11/19/25-17:44:50 - Not triggering discharge as it is not requested
11/19/25-17:44:50 - Charging to and maintaining at 85% from 67%
11/19/25-17:44:53 - SMC capabilities: tahoe=true legacy=false CHIE=true CH0I=false CH0J=true
11/19/25-17:44:53 - Not triggering discharge as it is not requested
11/19/25-17:44:53 - Charging to and maintaining at 85% from 67%
11/19/25-18:29:01 - SMC capabilities: tahoe=true legacy=false CHIE=true CH0I=false CH0J=true
11/19/25-18:29:01 - Not triggering discharge as it is not requested
11/19/25-18:29:01 - Charging to and maintaining at 85% from 66%
11/19/25-18:29:01 - Charge below 85%
11/19/25-18:29:01 - 🔌🔋 Enabling battery charging
11/19/25-18:29:01 - 🔼🪫 Disabling battery discharging
11/19/25-18:29:01 - MagSafe LED function invoked
11/19/25-18:29:01 - 💡 Setting magsafe color to orange
11/19/25-18:29:01 - setting LED to orange
11/19/25-18:33:05 - SMC capabilities: tahoe=true legacy=false CHIE=true CH0I=false CH0J=true
11/19/25-18:33:05 - Not triggering discharge as it is not requested
11/19/25-18:33:05 - Charging to and maintaining at 85% from 63%
11/19/25-18:33:44 - SMC capabilities: tahoe=true legacy=false CHIE=true CH0I=false CH0J=true
11/19/25-18:33:44 - Debug trail. User: david, config folder: /Users/david/.battery, logfile: /Users/david/.battery/battery.log, file called with 1: maintain_synchronous, 2: recover
11/19/25-18:33:44 - Recovering maintenance percentage 85
11/19/25-18:33:44 - Not triggering discharge as it is not requested
11/19/25-18:33:44 - Charging to and maintaining at 85% from 63%
11/19/25-18:33:46 - SMC capabilities: tahoe=true legacy=false CHIE=true CH0I=false CH0J=true
11/19/25-18:33:46 - Not triggering discharge as it is not requested
11/19/25-18:33:46 - Charging to and maintaining at 85% from 63%
11/19/25-18:38:57 - SMC capabilities: tahoe=true legacy=false CHIE=true CH0I=false CH0J=true
11/19/25-18:38:57 - Debug trail. User: david, config folder: /Users/david/.battery, logfile: /Users/david/.battery/battery.log, file called with 1: maintain_synchronous, 2: recover
11/19/25-18:38:57 - Recovering maintenance percentage 85
11/19/25-18:38:57 - Not triggering discharge as it is not requested
11/19/25-18:38:57 - Charging to and maintaining at 85% from 63%
11/19/25-18:38:59 - SMC capabilities: tahoe=true legacy=false CHIE=true CH0I=false CH0J=true
11/19/25-18:38:59 - Not triggering discharge as it is not requested
11/19/25-18:38:59 - Charging to and maintaining at 85% from 63%
11/19/25-18:58:33 - SMC capabilities: tahoe=true legacy=false CHIE=true CH0I=false CH0J=true
11/19/25-18:58:33 - Debug trail. User: david, config folder: /Users/david/.battery, logfile: /Users/david/.battery/battery.log, file called with 1: maintain_synchronous, 2: recover
11/19/25-18:58:33 - Recovering maintenance percentage 85
11/19/25-18:58:33 - Not triggering discharge as it is not requested
11/19/25-18:58:33 - Charging to and maintaining at 85% from 73%
11/19/25-18:58:35 - SMC capabilities: tahoe=true legacy=false CHIE=true CH0I=false CH0J=true
11/19/25-18:58:35 - Not triggering discharge as it is not requested
11/19/25-18:58:35 - Charging to and maintaining at 85% from 73%
11/19/25-19:05:53 - SMC capabilities: tahoe=true legacy=false CHIE=true CH0I=false CH0J=true
11/19/25-19:05:53 - Debug trail. User: david, config folder: /Users/david/.battery, logfile: /Users/david/.battery/battery.log, file called with 1: maintain_synchronous, 2: recover
11/19/25-19:05:53 - Recovering maintenance percentage 85
11/19/25-19:05:53 - Not triggering discharge as it is not requested
11/19/25-19:05:53 - Charging to and maintaining at 85% from 73%
11/19/25-19:05:55 - SMC capabilities: tahoe=true legacy=false CHIE=true CH0I=false CH0J=true
11/19/25-19:05:55 - Not triggering discharge as it is not requested
11/19/25-19:05:55 - Charging to and maintaining at 85% from 73%

🖥️ Battery GUI logs:

Found image: /Applications/battery.app/Contents/Resources/battery-active-70-Template.png
Get active logo for 73
Display percentage 70 based on 73
Force discharge setting: undefined undefined
Refreshing tray icon...
Executing PATH=/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin battery status_csv
Battery status:
{"percentage":"73","remaining":"11:34","charging":true,"discharging":true,"maintain_percentage":"85","battery_state":"73% (11:34 remaining)","daemon_state":"forcing discharge to 85%"}
Setting interface refresh speed to 10 minutes
Battery status:
{"percentage":"73","remaining":"11:34","charging":true,"discharging":true,"maintain_percentage":"85","battery_state":"73% (11:34 remaining)","daemon_state":"forcing discharge to 85%"}
Executing PATH=/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin battery status
Limiter status message:
11/19/25-19:06:06 - Battery at 73% (11:34 remaining), 12.186V, smc charging enabled
11/19/25-19:06:06 - Your battery is currently being maintained at 85%

Found image: /Applications/battery.app/Contents/Resources/battery-active-70-Template.png
Resetting interface timer speed
Executing PATH=/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin battery status_csv
Generate app menu percentage: 73 (discharge disallowed, limited on)
Refreshing interface update timer
Display percentage 70 based on 73
Force discharge setting: undefined undefined
Get active logo for 73
Battery status:
{"percentage":"73","remaining":"11:34","charging":true,"discharging":true,"maintain_percentage":"85","battery_state":"73% (11:34 remaining)","daemon_state":"forcing discharge to 85%"}
Setting interface refresh speed to 10 minutes
[ update-electron-app ]
checking-for-update
[ update-electron-app ]
update-not-available
Refreshing tray icon...
Executing PATH=/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin battery status_csv
Battery status:
{"percentage":"73","remaining":"10:11","charging":true,"discharging":true,"maintain_percentage":"85","battery_state":"73% (10:11 remaining)","daemon_state":"forcing discharge to 85%"}
Executing PATH=/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin battery status
Limiter status message:
11/19/25-19:16:06 - Battery at 73% (10:11 remaining), 12.138V, smc charging enabled

Generate app menu percentage: 73 (discharge disallowed, limited off)
Display percentage 70 based on 73
Found image: /Applications/battery.app/Contents/Resources/battery-inactive-70-Template.png
Resetting interface timer speed
Get active logo for 73
Force discharge setting: undefined undefined
Executing PATH=/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin battery status_csv
Refreshing interface update timer
Battery status:
{"percentage":"73","remaining":"10:11","charging":true,"discharging":true,"maintain_percentage":"85","battery_state":"73% (10:11 remaining)","daemon_state":"forcing discharge to 85%"}
Setting interface refresh speed to 10 minutes

📁 Config folder details:

total 2184
drwxr-xr-x@ 6 david staff 192B 19 nov 19:06 .
drwxr-x---+ 26 david staff 832B 19 nov 19:20 ..
-rwxr-xr-x@ 1 david staff 22K 19 nov 19:21 battery.log
-rw-r--r--@ 1 david staff 1,0M 19 nov 19:16 gui.log
-rw-r--r--@ 1 david staff 3B 19 nov 19:05 maintain.percentage
-rw-r--r-- 1 david staff 1,4K 19 nov 19:05 visudo.tmp

⚙️ Battery data:
Did battery fail to install? Use tail -n 1000 ~/.battery/*/log instead.

Additional context (optional)
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions