{ "name": "UPower", "module": "Quickshell.Services.UPower", "type": "class", "super": { "type": "qt", "module": "qml.QtQml", "name": "QtObject" }, "description": null, "details": null, "flags": [ "singleton" ], "properties": { "devices": { "type": { "type": "local", "module": "Quickshell", "name": "ObjectModel", "of": { "type": "local", "module": "Quickshell.Services.UPower", "name": "UPowerDevice" } }, "details": "All connected UPower devices.\n", "flags": [ "readonly" ] }, "onBattery": { "type": { "type": "qt", "module": "qml", "name": "bool" }, "details": "If the system is currently running on battery power, or discharging.\n", "flags": [ "readonly" ] }, "displayDevice": { "type": { "type": "local", "module": "Quickshell.Services.UPower", "name": "UPowerDevice" }, "details": "UPower's DisplayDevice for your system. Can be `null`.\n\nThis is an aggregate device and not a physical one, meaning you will not find it in TYPE99Vdevices99Tprop99TYPE.\nIt is typically the device that is used for displaying information in desktop environments.\n", "flags": [ "readonly" ] } }, "functions": [], "signals": {}, "variants": {} }