seerge / g-helper

Lightweight Armoury Crate alternative for Asus laptops and ROG Ally. Control tool for ROG Zephyrus G14, G15, G16, M16, Flow X13, Flow X16, TUF, Strix, Scar and other models
https://seerge.github.io/g-helper/
GNU General Public License v3.0
7.06k stars 256 forks source link

Battery Limit not staying at set limit #319

Closed Inaiso closed 1 year ago

Inaiso commented 1 year ago

My problem is that the battery limit does not stay at the percentage I set it in Ghelper when the laptop is plugged in. In Ghelper I have set the limit to 60% as you can see in the log , but in windows it does not stay at 60%. It will stay at that limit when I have ghelper in eco mode and silent, but the moment I switch to ultimate and turbo mode the battery starts to charge up and it will stay around 76~77%. Please see attached pictures. I not sure what the problem is.

I am on windows 11 No Armory Crate No my Asus Laptop model : ROG Zephyrus G14 GA402RJ_GA402RJ

log.txt 60 70 battery status battery hwinfo

seerge commented 1 year ago

@Inaiso hello. From log i see that on every launch app runs a limit command and gets 1(OK) from bios, so it accepts it.

5/4/2023 3:04:05 PM: BatteryLimit = 60 : OK

It's not much i can do next to it :) It can be either some other leftover from asus resettting limit, or just bios acting and not following limits.

You can also set same thing without any app by hand in powershell (as admin), as this is the same thing as g-helper and myasus do

(Get-WmiObject -Namespace Root/WMI -Class AsusAtkWmi_WMNB).DEVS(0x00120057, 60)
Inaiso commented 1 year ago

Thank you for all your work and information. Do you know how to make sure I have no leftover Asus stuff, I have uninstalled myAsus , deleted most of the folders except optimization and deleted most of the asus services with command prompt. Or do you know which specific asus service is resetting the limit? The app as according to behavior and log works, its just under that very specific circumstance of being in Ultimate + Turbo it will start charging. I think it is left over myAsus stuff thats messing with it as well, but I have no way to be sure unless I reinstall OS and everything.

seerge commented 1 year ago

@Inaiso i know only that it's myasus app :) mb try to install / uninstall it again ?

Anyway - command to set limit is simple as wood, i don't see bugs related to it in the app, as it runs and sets value

I don't know what exactly causes your laptop to start charging , mb it's even bugged battery controller or something like that.

Inaiso commented 1 year ago

Again thanks for all your work, and thanks for the replies.

Inaiso commented 1 year ago

So after a little investigation, I found that it was leftover asus services that was messing with limit. For some reason the asus services that the debloat script disabled did not disable and was still running. So I properly one by one disabled them all and when into the asus folder and deleted all the possible files that could start these services. Just though you cared to know why this happened. Again thanks for all you work and help.

seerge commented 1 year ago

@Inaiso you need to run debloat as admin. Bug i'm glad that it was asus services not the bugged hardware :)

musculobog commented 8 months ago

PS C:\Windows\system32> (Get-WmiObject -Namespace Root/WMI -Class AsusAtkWmi_WMNB).DEVS(0x00120057, 60) Exception calling "DEVS" : "Generic failure " At line:1 char:1

Any idea what's the issue?

Luqi21 commented 5 months ago

@Inaiso you need to run debloat as admin. Bug i'm glad that it was asus services not the bugged hardware :)

what is the debloat tool to use?

seerge commented 5 months ago

@Luqi21 now it’s integrated into the app. It’s just A Stop services button under Extra