Re: diff: trigger acpiac_refresh when acpibat notification

2023-09-13 Thread YASUOKA Masahiko
ping. I think we have no reason not having this. Alternatively acpiac_notify_triggered can be deleted and doing the triggering unconditionally is also good because it's simpler. comments? ok? On Thu, 17 Aug 2023 16:12:07 +0900 (JST) YASUOKA Masahiko wrote: > Hi, > > Update the AC status when

Re: diff: trigger acpiac_refresh when acpibat notification

2023-08-18 Thread YASUOKA Masahiko
On Thu, 17 Aug 2023 10:07:27 -0500 joshua stein wrote: > On Thu, 17 Aug 2023 at 16:12:07 +0900, YASUOKA Masahiko wrote: >> Hi, >> >> Update the AC status when the battery notification is happened. >> Because the AC status notification doesn't happen on some machines. >> My vaio actually has this

Re: diff: trigger acpiac_refresh when acpibat notification

2023-08-17 Thread joshua stein
On Thu, 17 Aug 2023 at 16:12:07 +0900, YASUOKA Masahiko wrote: > Hi, > > Update the AC status when the battery notification is happened. > Because the AC status notification doesn't happen on some machines. > My vaio actually has this problem. > > Also Linux is doing the same thing > > https://g

Re: diff: trigger acpiac_refresh when acpibat notification

2023-08-17 Thread YASUOKA Masahiko
Let me clarify some. On Thu, 17 Aug 2023 16:12:07 +0900 (JST) YASUOKA Masahiko wrote: > Update the AC status when the battery notification is happened. > Because the AC status notification doesn't happen on some machines. At that time (plugging or unpluggin the AC), a battery notification always

Re: diff: trigger acpiac_refresh when acpibat notification

2023-08-17 Thread YASUOKA Masahiko
Hi, Thank you for the Japanese subtitle. It helps me. :) On Thu, 17 Aug 2023 17:10:51 +0900 "lain." wrote: > If I understand correctly, you want to check the battery level, and give > you a notification when battery is low, right? > 正しく理解しているなら、YASUOKAさんはバッテリーのレベルを確認し、 > バッテリーが低くなったら通知を受け取りたい、と

Re: diff: trigger acpiac_refresh when acpibat notification

2023-08-17 Thread lain.
If I understand correctly, you want to check the battery level, and give you a notification when battery is low, right? 正しく理解しているなら、YASUOKAさんはバッテリーのレベルを確認し、 バッテリーが低くなったら通知を受け取りたい、ということですよね? In this case, you can use apm for that. その場合、それには「apm」を使うことができます。 Battery level (percent) checking/バッテリーのレベ

diff: trigger acpiac_refresh when acpibat notification

2023-08-17 Thread YASUOKA Masahiko
Hi, Update the AC status when the battery notification is happened. Because the AC status notification doesn't happen on some machines. My vaio actually has this problem. Also Linux is doing the same thing https://github.com/torvalds/linux/blob/v6.4/drivers/acpi/ac.c#L165-L183 ok? comments? In