Removed unused notifications
This commit is contained in:
parent
8309879a19
commit
d4ce9bac9c
2 changed files with 3 additions and 63 deletions
|
@ -15,72 +15,12 @@ Action=Popup
|
|||
|
||||
[Event/smsReceived]
|
||||
Name=SMS
|
||||
Comment=Someone sent you a SMS
|
||||
Action=Popup
|
||||
|
||||
[Event/mmsReceived]
|
||||
Name=MMS
|
||||
Comment=Someone sent you a MMS
|
||||
Comment=Someone sent you an SMS
|
||||
Action=Popup
|
||||
|
||||
[Event/batteryLow]
|
||||
Name=Battery
|
||||
Comment=Your battery is in low state (Discharging)
|
||||
Action=Popup
|
||||
|
||||
[Event/batteryCaution]
|
||||
Name=Battery
|
||||
Comment=Your battery is in caution state (Discharging)
|
||||
Action=Popup
|
||||
|
||||
[Event/battery040]
|
||||
Name=Battery
|
||||
Comment=Your battery is at 40% (Discharging)
|
||||
Action=Popup
|
||||
|
||||
[Event/battery060]
|
||||
Name=Battery
|
||||
Comment=Your battery is at 60% (Discharging)
|
||||
Action=Popup
|
||||
|
||||
[Event/battery080]
|
||||
Name=Battery
|
||||
Comment=Your battery is at 80% (Discharging)
|
||||
Action=Popup
|
||||
|
||||
[Event/battery100]
|
||||
Name=Battery
|
||||
Comment=Your battery is at 100% (Discharging)
|
||||
Action=Popup
|
||||
|
||||
[Event/batteryChargingLow]
|
||||
Name=Battery
|
||||
Comment=Your battery is in low state (Charging)
|
||||
Action=Popup
|
||||
|
||||
[Event/batteryChargingCaution]
|
||||
Name=Battery
|
||||
Comment=Your battery is in caution state (Charging)
|
||||
Action=Popup
|
||||
|
||||
[Event/batteryCharging040]
|
||||
Name=Battery
|
||||
Comment=Your battery is at 40% (Charging)
|
||||
Action=Popup
|
||||
|
||||
[Event/batteryCharging060]
|
||||
Name=Battery
|
||||
Comment=Your battery is at 60% (Charging)
|
||||
Action=Popup
|
||||
|
||||
[Event/batteryCharging080]
|
||||
Name=Battery
|
||||
Comment=Your battery is at 80% (Charging)
|
||||
Action=Popup
|
||||
|
||||
[Event/batteryCharging100]
|
||||
Name=Battery
|
||||
Comment=Your battery is at 100% (Charging)
|
||||
Comment=Your battery is in low state
|
||||
Action=Popup
|
||||
|
||||
[Event/pingReceived]
|
||||
|
|
|
@ -69,7 +69,7 @@ bool BatteryPlugin::receivePackage(const NetworkPackage& np)
|
|||
batteryDbusInterface->updateValues(isCharging, currentCharge);
|
||||
|
||||
if (currentCharge == 14 && !isCharging) {
|
||||
KNotification* notification = new KNotification("battery100");
|
||||
KNotification* notification = new KNotification("batteryLow");
|
||||
notification->setPixmap(KIcon("battery-040").pixmap(48, 48));
|
||||
notification->setComponentData(KComponentData("kdeconnect", "kdeconnect"));
|
||||
notification->setTitle(device()->name() + ": low battery");
|
||||
|
|
Loading…
Reference in a new issue