Re: [PATCH] ACPI / battery: add quirk for Asus GL502VSK and UX305LA

2017-11-20 Thread Rafael J. Wysocki
On Friday, September 22, 2017 10:27:44 AM CET Kai-Heng Feng wrote: > On Asus GL502VSK and UX305LA, ACPI incorrectly reports discharging when > battery 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

Re: [PATCH] ACPI / battery: add quirk for Asus GL502VSK and UX305LA

2017-11-20 Thread Rafael J. Wysocki
On Friday, September 22, 2017 10:27:44 AM CET Kai-Heng Feng wrote: > On Asus GL502VSK and UX305LA, ACPI incorrectly reports discharging when > battery 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

Re: [PATCH] ACPI / battery: add quirk for Asus GL502VSK and UX305LA

2017-11-20 Thread Rafael J. Wysocki
On Monday, November 20, 2017 9:24:32 AM CET Kai Heng Feng wrote: > > > On 12 Oct 2017, at 1:16 PM, Kai-Heng Feng > > wrote: > > > > On Fri, Sep 22, 2017 at 4:27 PM, Kai-Heng Feng > > wrote: > >> On Asus GL502VSK and UX305LA, ACPI

Re: [PATCH] ACPI / battery: add quirk for Asus GL502VSK and UX305LA

2017-11-20 Thread Rafael J. Wysocki
On Monday, November 20, 2017 9:24:32 AM CET Kai Heng Feng wrote: > > > On 12 Oct 2017, at 1:16 PM, Kai-Heng Feng > > wrote: > > > > On Fri, Sep 22, 2017 at 4:27 PM, Kai-Heng Feng > > wrote: > >> On Asus GL502VSK and UX305LA, ACPI incorrectly reports discharging when > >> battery is full and

Re: [PATCH] ACPI / battery: add quirk for Asus GL502VSK and UX305LA

2017-11-20 Thread Kai Heng Feng
> On 12 Oct 2017, at 1:16 PM, Kai-Heng Feng wrote: > > On Fri, Sep 22, 2017 at 4:27 PM, Kai-Heng Feng > wrote: >> On Asus GL502VSK and UX305LA, ACPI incorrectly reports discharging when >> battery is full and AC is plugged. >> >>

Re: [PATCH] ACPI / battery: add quirk for Asus GL502VSK and UX305LA

2017-11-20 Thread Kai Heng Feng
> On 12 Oct 2017, at 1:16 PM, Kai-Heng Feng wrote: > > On Fri, Sep 22, 2017 at 4:27 PM, Kai-Heng Feng > wrote: >> On Asus GL502VSK and UX305LA, ACPI incorrectly reports discharging when >> battery is full and AC is plugged. >> >> However rate_now is correct under this circumstance, hence we

Re: [PATCH] ACPI / battery: add quirk for Asus GL502VSK and UX305LA

2017-10-11 Thread Kai-Heng Feng
On Fri, Sep 22, 2017 at 4:27 PM, Kai-Heng Feng wrote: > On Asus GL502VSK and UX305LA, ACPI incorrectly reports discharging when > battery is full and AC is plugged. > > However rate_now is correct under this circumstance, hence we can use > "rate_now == 0" as a

Re: [PATCH] ACPI / battery: add quirk for Asus GL502VSK and UX305LA

2017-10-11 Thread Kai-Heng Feng
On Fri, Sep 22, 2017 at 4:27 PM, Kai-Heng Feng wrote: > On Asus GL502VSK and UX305LA, ACPI incorrectly reports discharging when > battery 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

[PATCH] ACPI / battery: add quirk for Asus GL502VSK and UX305LA

2017-09-22 Thread Kai-Heng Feng
On Asus GL502VSK and UX305LA, ACPI incorrectly reports discharging when battery 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. BugLink:

[PATCH] ACPI / battery: add quirk for Asus GL502VSK and UX305LA

2017-09-22 Thread Kai-Heng Feng
On Asus GL502VSK and UX305LA, ACPI incorrectly reports discharging when battery 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. BugLink: