diff options
author | Martin Pitt <martin.pitt@ubuntu.com> | 2009-10-14 13:20:58 +0200 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2009-10-20 12:57:04 +0100 |
commit | 54f37398c06fa2573aa6e734dd65ea87751ec3b1 (patch) | |
tree | 4004bab0985d2a2d852824ecf623a46e585209f9 /rules | |
parent | a4dce7f43b54e7d4f95372980d055f7332e05de8 (diff) | |
download | upower-54f37398c06fa2573aa6e734dd65ea87751ec3b1.tar.gz |
Bug 24262 – incorrect battery recall warning for Lenovo T61
According to
http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=BATT-LENOVO
the Sony batteris are only recalled on some particular models.
Diffstat (limited to 'rules')
-rw-r--r-- | rules/95-devkit-power-battery-recall-ibm.rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rules/95-devkit-power-battery-recall-ibm.rules b/rules/95-devkit-power-battery-recall-ibm.rules index ecff4fb..ad3800a 100644 --- a/rules/95-devkit-power-battery-recall-ibm.rules +++ b/rules/95-devkit-power-battery-recall-ibm.rules @@ -16,6 +16,9 @@ ATTR{type}!="Battery", GOTO="dkp_battery_recall_ibm_end" # only match correct manufacturer ATTR{manufacturer}!="SONY", GOTO="dkp_battery_recall_ibm_end" +# only recalled on some particular models +ATTR{[dmi/id]product_version}!="*R60*|*T60*|*Z60m*|*Z61e*|*Z61m*|*Z61p*", GOTO="dkp_battery_recall_ibm_end" + ATTR{model_name}=="92P1072", ENV{DKP_RECALL_NOTICE}="1" ATTR{model_name}=="92P1073", ENV{DKP_RECALL_NOTICE}="1" ATTR{model_name}=="92P1088", ENV{DKP_RECALL_NOTICE}="1" |