Warning, /plasma/plasma-mobile/quicksettings/battery/contents/ui/main.qml is written in an unsupported language. File is not indexed.
0001 // SPDX-FileCopyrightText: 2022 Devin Lin <devin@kde.org> 0002 // SPDX-License-Identifier: LGPL-2.0-or-later 0003 0004 import QtQuick 2.15 0005 0006 import org.kde.plasma.private.mobileshell.quicksettingsplugin as QS 0007 import org.kde.plasma.private.mobileshell as MobileShell 0008 0009 QS.QuickSetting { 0010 text: i18n("Battery") 0011 status: i18n("%1%", MobileShell.BatteryInfo.percent) 0012 icon: "battery-full" + (MobileShell.BatteryInfo.pluggedIn ? "-charging" : "") 0013 enabled: false 0014 settingsCommand: "plasma-open-settings kcm_mobile_power" 0015 }