forked fromtorvalds/linux
- Notifications
You must be signed in to change notification settings - Fork1
Commitc68f067
ACPI / battery: Add quirk for Asus GL502VSK and UX305LA
On Asus GL502VSK and UX305LA, ACPI incorrectly reports discharging whenbattery is full and AC is plugged.However rate_now is correct under this circumstance, hence we can use"rate_now == 0" as a predicate to report battery full status correctly.Link:https://bugs.launchpad.net/bugs/1482390Signed-off-by: Kai-Heng Feng <kai.heng.feng@canonical.com>Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>1 parent6993ce4 commitc68f067
1 file changed
+29
-3
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
70 | 70 |
| |
71 | 71 |
| |
72 | 72 |
| |
| 73 | + | |
73 | 74 |
| |
74 | 75 |
| |
75 | 76 |
| |
| |||
214 | 215 |
| |
215 | 216 |
| |
216 | 217 |
| |
217 |
| - | |
218 |
| - | |
219 |
| - | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
220 | 224 |
| |
221 | 225 |
| |
222 | 226 |
| |
| |||
1166 | 1170 |
| |
1167 | 1171 |
| |
1168 | 1172 |
| |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
1169 | 1179 |
| |
1170 | 1180 |
| |
1171 | 1181 |
| |
| |||
1183 | 1193 |
| |
1184 | 1194 |
| |
1185 | 1195 |
| |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
| 1202 | + | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
1186 | 1212 |
| |
1187 | 1213 |
| |
1188 | 1214 |
| |
|
0 commit comments
Comments
(0)