summaryrefslogtreecommitdiff
path: root/rules/95-upower-battery-recall-lenovo.rules
diff options
context:
space:
mode:
Diffstat (limited to 'rules/95-upower-battery-recall-lenovo.rules')
-rw-r--r--rules/95-upower-battery-recall-lenovo.rules24
1 files changed, 0 insertions, 24 deletions
diff --git a/rules/95-upower-battery-recall-lenovo.rules b/rules/95-upower-battery-recall-lenovo.rules
deleted file mode 100644
index 04db19e..0000000
--- a/rules/95-upower-battery-recall-lenovo.rules
+++ /dev/null
@@ -1,24 +0,0 @@
-##############################################################################################################
-# Battery recall notices: Lenovo
-#
-# These are properties defining the behavior:
-# UPOWER_RECALL_NOTICE
-# UPOWER_RECALL_VENDOR
-# UPOWER_RECALL_URL
-#
-
-# only match power_supply devices
-SUBSYSTEM!="power_supply", GOTO="up_battery_recall_lenovo_end"
-
-# only match batteries
-ATTR{type}!="Battery", GOTO="up_battery_recall_lenovo_end"
-
-# only match correct manufacturer
-ATTR{manufacturer}!="SANYO", GOTO="up_battery_recall_lenovo_end"
-
-ATTR{model_name}=="92P1131", ENV{UPOWER_RECALL_NOTICE}="1"
-
-ENV{UPOWER_RECALL_NOTICE}=="1", ENV{UPOWER_RECALL_VENDOR}="LENOVO", ENV{UPOWER_RECALL_URL}="http://www.lenovo.com/batteryprogram"
-
-LABEL="up_battery_recall_lenovo_end"
-