Commit 4741bdcc authored by Lukáš Tinkl's avatar Lukáš Tinkl
Browse files

recognize additional battery types

BUG: 317400
FIXED-IN: 4.10.2
parent 304ac511
......@@ -83,7 +83,7 @@ bool UPowerDevice::queryDeviceInterface(const Solid::DeviceInterface::Type& type
case Solid::DeviceInterface::GenericInterface:
return true;
case Solid::DeviceInterface::Battery:
return (uptype == 2 || uptype == 3);
return (uptype == 2 || uptype == 3 || uptype == 5 || uptype == 6);
case Solid::DeviceInterface::AcAdapter:
return (uptype == 1);
default:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment