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

USB plugged in but not charging treated as unplugged #3747

Open
2 tasks done
pressRtowin opened this issue Feb 22, 2025 · 5 comments
Open
2 tasks done

USB plugged in but not charging treated as unplugged #3747

pressRtowin opened this issue Feb 22, 2025 · 5 comments
Labels
abandoned No response from topic starter question Further information is requested

Comments

@pressRtowin
Copy link

pressRtowin commented Feb 22, 2025

Rules

  • I made myself familiar with the Readme, FAQ and Troubleshooting.
  • I understand that, if insufficient information or no app logs will be provided, my issue will be closed without an answer.

What's wrong?

When plugged in via USB C with a charge limit set (I'm not sure if this happens at 100% as I've avoided charging my battery to that level), whenever charging stops due to being at the charge limit, G-Helper switches modes as if it were unplugged. The GPU mode switching can be avoided by using the "Keep GPU disabled" option IF 1) you're also using a GPU-disabled mode when unplugged, AND 2) you're using the Optimized option when plugged in, but this should not be necessary, and is not a suitable workaround. There is no way to avoid the main mode switching unless it is set to the same mode when plugged in and unplugged, and even in that case, every time the device starts and stops charging, you get a toast notification with the name of the mode.

How to reproduce the bug?

Set the device to use a different mode and GPU mode when plugged in and when unplugged (not necessary but demonstrates the behavior better).

Power the device via USB C.

Set a charge limit near the current battery level (this may not be necessary but I haven't tested without, and it's easier to reproduce the scenario with this option rather than waiting for the battery to be fully charged).

Observe the modes changing whenever charging starts or stops.

Logs

log.txt

Device and Model

GA402XV

Additional information.

No response

Armoury Crate

Installed

Asus Services

0

Version

0.204.0

OS

Windows 11 Pro 10.0.26100 Build 26100

@pressRtowin
Copy link
Author

Note: this is different from #3367. Windows sees and reports that it's plugged in the entire time on the battery settings page. The modes are never changed, regardless of how heavy the workload is, when the battery is under the charge limit. It's only when the battery level is at the charge limit and charging is constantly being turned on and off that the modes are being changed.

@seerge
Copy link
Owner

seerge commented Feb 22, 2025

@pressRtowin hello,

I think it's actually pretty much same thing as in #3367 . Hardware and windows notify app that power source has changed to battery

You can see it in a log like

2025-02-22 06:04:27: WMI event 87
2025-02-22 06:04:27: WMI event 123 <--- ASUS WMI notifications saying device in on battery poert
2025-02-22 06:04:28: Power Mode StatusChange: Offline <---- THIS IS A NOTIFICATION FROM WINDOWS about battery power
2025-02-22 06:04:28: AutoSetting for Offline

So app acts accordingly. Most likely it's due to USB-C charger itself or some power delivery component on the motherboard.

I can't change it unfortunately :) I can only advice to either try different USB-C charger or use a barrel-charger in this case.

@pressRtowin
Copy link
Author

That's unfortunate. I've tried probably half a dozen different USB C chargers, all with the same result. I wonder why this doesn't happen when using the barrel charger. In the power settings, it looks exactly the same regardless of the charger. When plugged in but not charging, it shows the plugged in icon when using either charger, so Windows is aware, but only sends the battery power notification when using the USB C charger?

Image

Maybe a suitable workaround would be a setting to disable mode switching altogether?

@seerge
Copy link
Owner

seerge commented Feb 22, 2025

@pressRtowin probably it's USB-C power delivery component in the device itself.

Did you try doing hard-reset ?

Disabling mode switching is possible, but it won't solve your problem. As device switches to battery-state on hardware / firmware level as well. And same (for example) Balanced mode will have different behavior on battery / while plugged in

@seerge seerge added the question Further information is requested label Feb 22, 2025
@seerge
Copy link
Owner

seerge commented Feb 26, 2025

@pressRtowin any updates here ?

@seerge seerge added the abandoned No response from topic starter label Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
abandoned No response from topic starter question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants