Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Battery status not appearing on High Sierra 10.13 #21

Closed
RehabMan opened this issue Aug 28, 2017 · 14 comments
Closed

Battery status not appearing on High Sierra 10.13 #21

RehabMan opened this issue Aug 28, 2017 · 14 comments

Comments

@RehabMan
Copy link
Owner

On 10.13, battery status will not be detected at startup.

Workaround: At login screen, unplug AC adapter, plug back in (or opposite if starting on battery power).

It appears to be a timing issue.

Note: Sometimes it works, but it is rare.

@RehabMan
Copy link
Owner Author

Current default for FirstPollDelay is 1000 (v1.81).
I think I may increase it later (perhaps to 3000 or 4000).
You can customize it easily with ACPI.

@Andrey1970AppleLife
Copy link

v1.81 on my Acer, works with FirstPollDelay is 4000.

@RehabMan
Copy link
Owner Author

RehabMan commented Aug 30, 2017

I will probably change it to 4000 in v1.82. And I may add the ability to change it with a kernel flag.
We'll see.

Strangely, at first, 1000 was not working on my 4530s. Then I increased it to 2000 (via ACPI RMFC override, so no kext cache rebuild), and it still didn't work. Then increased it to 3000, and it worked. So then I reduced to 1000 again, and it still worked! Reduced to 500... worked. Reduced to 250, stopped working. Went back to 1000 and it worked. And that was all after it was working just fine with beta7, then I updated to beta8 and 1000 was not working again (until I went through that procedure).

It was strange that I needed to "boot strap" it with a relatively large delay, but then after it was working, I could go lower, even to the breaking point, at which I didn't need the large value anymore (as 1000 worked after breaking it with 250).

Very strange timing issue for sure...

We'll see what beta 9 brings. I currently have the kext installed (with stock 1000) but overridden in RMCF at 3000.

@RehabMan
Copy link
Owner Author

RehabMan commented Aug 30, 2017

version 1.81.2 seems to be working here... (both in 10.12 and 10.13).
More testing required though, especially with older versions.

@RehabMan
Copy link
Owner Author

Tested 1.81.2 and working:

  • HP ProBook 4540s, 10.13, 10.12
  • HP ProBook 4530s, 10.13, 10.11, 10.10, 10.6.3.
  • Lenovo u430, 10.12, 10.13
  • Lenovo 710-11ISK, 10.13

@RehabMan
Copy link
Owner Author

Fixed in 1.81.2.

@edward-p
Copy link

v1.81.3 on my MSI GP62 (installed on HDD), I need to increase FirstPollDelay to 6000 on 10.13. That's a little bit high, isn't it?

@RehabMan
Copy link
Owner Author

Probably due to slow boot caused by APFS + TRIM.
If you're using APFS, disable the TRIM patch.

@edward-p
Copy link

edward-p commented Sep 28, 2017

Solved by Trun off all of the TRIM patch, both in ACPI and KextsToPatch in Clover.

@kikiwora
Copy link

kikiwora commented Feb 1, 2018

Well, on Hight Sierra 10.13.3 (APFS on SSD) if you've used trimforce enable (or some other TRIM patch?), battery status indicator is automatically turned off after boot (on logon screen and after login), you should enable it manually after every boot.

I assume, that it can be solved with abm_firstpolldelay boot flag, but for me the simplest solution was to turn off TRIM for a better times :)

P.S. for edward-p: Hight Sierra with APFS on HDD is a very bad idea. You should force install|update with HFS+J instead.

@RehabMan
Copy link
Owner Author

RehabMan commented Feb 1, 2018

Well, on Hight Sierra 10.13.3 (APFS on SSD) if you've used trimforce enable (or some other TRIM patch?), battery status indicator is automatically turned off after boot (on logon screen and after login), you should enable it manually after every boot.

It is due to boot delays caused by problems with non-Apple SSDs and TRIM.
On NVMe drives, TRIM is always enabled, so you don't even have that option.
Maybe someone will figure out a patch, but for now, disabling TRIM or using HFS+J instead covers most of the problems.
And still, you can increase the delay with abm_firstpolldelay, which might solve the problem once you find the right value. But likely you have other problems due to the boot delay anyway.

@ouija
Copy link

ouija commented Apr 12, 2018

Have similar issue occurring on an Asus S400CA (VivoBook) w/High Sierra where the battery icon won't appear in the status bar; Tried setting polling both dsdt / boot arg methods for various timings up to 16 seconds, but still having an issue where, upon first booting, the battery icon will appear for a brief second in the status bar (if at all) and then won't appear unless go to Energy Saver in SysPrefs and it will (usually) say battery is 0% (even though fully charged) and if you click to enable it in the status bar, it won't stay clicked, UNLESS you physically unplug the power cord and plug it back in.

Then you can click to enable it in the status bar, and it will stay there until you next reboot (and do it all over again).

Any thoughts on what might fix this? I tried delaying the startup by a couple seconds via the DSDT patch, but it didn't seem to have any effect.

@dedicahyadi
Copy link

dedicahyadi commented Apr 13, 2018

Sorry sir, i'm facing same problem like Ouija above, when battery full 100% and restarting with plugged in adaptor, the battery not showing on status bar,,
Asus A456URK core i5 Kabylake with High Sierra 10.13.4
thanks

@RehabMan
Copy link
Owner Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants