Closed mclarenlabs closed 8 months ago
Proposed fix for #28.
Uses technique outlined in referenced project.
Instead of simply looking for a power supply with "present"=1, also look for a power supply that does NOT have parameter "online"=1.
Limited testing. Tested on a System76 laptop with logitech mouse attached, not attached. On AC power, not on AC power.
Proposed fix for #28.
Uses technique outlined in referenced project.
Instead of simply looking for a power supply with "present"=1, also look for a power supply that does NOT have parameter "online"=1.
Limited testing. Tested on a System76 laptop with logitech mouse attached, not attached. On AC power, not on AC power.