mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Improved USB-C charger detection for FA507 https://github.com/seerge/g-helper/issues/2018
This commit is contained in:
@@ -185,6 +185,8 @@ namespace GHelper.Gpu
|
||||
if (SystemInformation.PowerStatus.PowerLineStatus != PowerLineStatus.Online) return false;
|
||||
if (!AppConfig.Is("optimized_usbc")) return true;
|
||||
|
||||
if (AppConfig.ContainsModel("FA507")) Thread.Sleep(600);
|
||||
|
||||
int chargerMode = Program.acpi.DeviceGet(AsusACPI.ChargerMode);
|
||||
Logger.WriteLine("ChargerStatus: " + chargerMode);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user