/lib/udev/rules.d/95-upower-battery-recall-toshiba.rules is in upower 0.9.23-2ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | ##############################################################################################################
# Battery recall notices: Toshiba
#
# 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_toshiba_end"
# only match batteries
ATTR{type}!="Battery", GOTO="up_battery_recall_toshiba_end"
# only match correct manufacturer
ATTR{manufacturer}!="TOSHIBA", GOTO="up_battery_recall_toshiba_end"
ATTR{model_name}=="PA3191U", ENV{UPOWER_RECALL_NOTICE}="1"
ATTR{model_name}=="PA3191U", ENV{UPOWER_RECALL_NOTICE}="1"
ATTR{model_name}=="PA3356U", ENV{UPOWER_RECALL_NOTICE}="1"
ATTR{model_name}=="PA3356U", ENV{UPOWER_RECALL_NOTICE}="1"
ATTR{model_name}=="PA3475U", ENV{UPOWER_RECALL_NOTICE}="1"
ATTR{model_name}=="PA3476U", ENV{UPOWER_RECALL_NOTICE}="1"
ATTR{model_name}=="PA3399U", ENV{UPOWER_RECALL_NOTICE}="1"
ATTR{model_name}=="PA3451U", ENV{UPOWER_RECALL_NOTICE}="1"
ATTR{model_name}=="PA3383U", ENV{UPOWER_RECALL_NOTICE}="1"
ATTR{model_name}=="PA3395U", ENV{UPOWER_RECALL_NOTICE}="1"
ATTR{model_name}=="PA3399U", ENV{UPOWER_RECALL_NOTICE}="1"
ATTR{model_name}=="PA3400U", ENV{UPOWER_RECALL_NOTICE}="1"
ATTR{model_name}=="PA3421U", ENV{UPOWER_RECALL_NOTICE}="1"
ENV{UPOWER_RECALL_NOTICE}=="1", ENV{UPOWER_RECALL_VENDOR}="Toshiba", ENV{UPOWER_RECALL_URL}="http://bxinfo.toshiba.com/"
LABEL="up_battery_recall_toshiba_end"
|