diff --git a/tdecore/tdehw/tdehardwaredevices.cpp b/tdecore/tdehw/tdehardwaredevices.cpp index 8eafe96e9..9895dc6b5 100644 --- a/tdecore/tdehw/tdehardwaredevices.cpp +++ b/tdecore/tdehw/tdehardwaredevices.cpp @@ -2236,6 +2236,7 @@ TDEGenericDevice* TDEHardwareDevices::classifyUnknownDevice(udev_device* dev, TD if (devicesubsystem == "power_supply") { TQString powersupplyname(udev_device_get_property_value(dev, "POWER_SUPPLY_NAME")); if ((devicedriver == "ac") + || (devicedriver.contains("charger")) || (powersupplyname.upper().startsWith("AC"))) { if (!device) device = new TDEMainsPowerDevice(TDEGenericDeviceType::PowerSupply); }