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

Not able to confirm health mode status #1

Closed
SV-stark opened this issue Aug 25, 2022 · 9 comments
Closed

Not able to confirm health mode status #1

SV-stark opened this issue Aug 25, 2022 · 9 comments

Comments

@SV-stark
Copy link

Not able to confirm health mode status

cat health_mode
cat: health_mode: No such device

and

sudo echo 1 >> health_mode
zsh: permission denied: health_mode

No text editor including vim and nano can open the file.

@maxco2
Copy link
Owner

maxco2 commented Aug 26, 2022

Please confirm that you have a matching WMI method on your device.

The output of the following command should contain the WMI GUID 9772EC5-04B1-4BFD-843C-61E7F77B6CC9

 sudo fwts wmi -

Ref:
https://wiki.ubuntu.com/Kernel/Reference/WMI

@SV-stark
Copy link
Author

SV-stark commented Aug 26, 2022

Terribly sorry that I forgot to mention that I am using Manjaro. Is there any other way to get this WMI GUID?

@maxco2
Copy link
Owner

maxco2 commented Aug 26, 2022

Terribly sorry that I forgot to mention that I am using Manjaro. Is there any other way to get this WMI GUID?

fwts-git is in AUR.

@SV-stark
Copy link
Author

SV-stark commented Aug 26, 2022

Thanks for directions. I didn't see the GUID you mentioned, but I did see a match 79772EC5-04B1-4BFD-843C-61E7F77B6CC9 which I suppose is of no use.
Also additionally me laptop is Acer Aspire A515-51G (UN.GWJSI.006)

@maxco2
Copy link
Owner

maxco2 commented Aug 26, 2022

I'm not sure if this GUID is battery health control. Please be careful.

@maxco2 maxco2 closed this as completed Aug 30, 2022
@rybomir
Copy link

rybomir commented Mar 5, 2023

Hey @maxco2, I'm facing a similar issue - I've found a match for 79772EC6-04B1-4BFD-843C-61E7F77B6CC9, which seems to differ by one digit from @SV-stark's. Echoing health_mode doesn't seem to have any effect, it stays empty. I'm on Aspire VX5-591G-58TC.

However, I've noticed that you probably made a typo:

The output of the following command should contain the WMI GUID 9772EC5-04B1-4BFD-843C-61E7F77B6CC9

In reality acer_battery_wmi.c contains 79772EC5-04B1-4BFD-843C-61E7F77B6CC9, so... It should have worked for @SV-stark? Unless I'm missing something obvious here.

PS. Output of sudo fwts wmi - :

Low failures: 1
wmi: GUID 79772EC6-04B1-4BFD-843C-61E7F77B6CC9 should have an associated method WMBF defined, however this does not seem to exist.

@maxco2
Copy link
Owner

maxco2 commented Mar 24, 2023

@rybomir Sorry for not getting back to you sooner. My laptop "fwts" is also output 79772EC6-04B1-4BFD-843C-61E7F77B6CC9 which is not the battery health control GUID. If you have a Windows system, maybe you can do some reverse engineering on Acer Care Center which is written in C#.
image

@rybomir
Copy link

rybomir commented Mar 24, 2023

@maxco2 Ok, so, curious thing - since my last comment I've reinstalled the OS (EndeavourOS before, Fedora now), and it looks like the correct GUID just... appeared?

image

However, this didn't resolve anything, echoing health_mode with "1" still doesn't have any effect. Any ideas?

dmesg output after echoing:

[   45.041742] Unexpected output format getting battery health status, buffer length:4
[   58.198921] Setting battery health status success! Status was 0 ret was 0x0 (0)

@maxco2
Copy link
Owner

maxco2 commented Mar 26, 2023

@rybomir

Judging from the dmesg log, setting the battery charging health threshold is successful, but failing to obtain the status. Maybe you can try charging it to see if it works.

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

3 participants