{ "name": "UPowerDeviceState", "module": "Quickshell.Services.UPower", "type": "class", "super": { "type": "qt", "module": "qml.QtQml", "name": "QtObject" }, "description": "Power state of a UPower device.", "details": "See TYPE99MQS_Quickshell_Services_UPower99NUPowerDevice99Vstate99Tprop99TYPE.\n", "flags": [ "enum" ], "properties": {}, "functions": [ { "ret": { "type": "qt", "module": "qml", "name": "string" }, "name": "toString", "id": "toString", "details": null, "params": [ { "name": "status", "type": { "type": "local", "module": "Quickshell.Services.UPower", "name": "UPowerDeviceState" } } ] } ], "signals": {}, "variants": { "Empty": { "details": null }, "Unknown": { "details": null }, "Charging": { "details": null }, "Discharging": { "details": null }, "FullyCharged": { "details": null }, "PendingCharge": { "details": "The device is waiting to be charged after it was plugged in.\n" }, "PendingDischarge": { "details": "The device is waiting to be discharged after being unplugged.\n" } } }