Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
forked fromtorvalds/linux

Commit4446823

Browse files
khfengrafaeljw
authored andcommitted
ACPI / battery: Add quirk for Asus UX360UA and UX410UAK
Same issue as other Asus laptops, ACPI incorrectly reports dischargingwhen battery is full and AC is plugged.Use the same battery quirk can workaround the issue.Link:https://bugs.launchpad.net/bugs/1661876Link:https://bugs.launchpad.net/bugs/1745032Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent1a9a126 commit4446823

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

‎drivers/acpi/battery.c‎

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1209,6 +1209,22 @@ static const struct dmi_system_id bat_dmi_table[] __initconst = {
12091209
DMI_MATCH(DMI_PRODUCT_NAME,"UX305LA"),
12101210
},
12111211
},
1212+
{
1213+
.callback=battery_full_discharging_quirk,
1214+
.ident="ASUS UX360UA",
1215+
.matches= {
1216+
DMI_MATCH(DMI_SYS_VENDOR,"ASUSTeK COMPUTER INC."),
1217+
DMI_MATCH(DMI_PRODUCT_NAME,"UX360UA"),
1218+
},
1219+
},
1220+
{
1221+
.callback=battery_full_discharging_quirk,
1222+
.ident="ASUS UX410UAK",
1223+
.matches= {
1224+
DMI_MATCH(DMI_SYS_VENDOR,"ASUSTeK COMPUTER INC."),
1225+
DMI_MATCH(DMI_PRODUCT_NAME,"UX410UAK"),
1226+
},
1227+
},
12121228
{},
12131229
};
12141230

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp