[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding battery support on Cygwin

From: Ken Brown
Subject: Re: Adding battery support on Cygwin
Date: Sat, 13 Jan 2018 13:19:40 -0500
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

On 1/13/2018 3:11 AM, Eli Zaretskii wrote:
From: Ken Brown <address@hidden>
Date: Fri, 12 Jan 2018 21:33:33 -0500

The Cygwin-w32 currently supports battery status via the function
w32fns.c:Fw32_battery_status.  The X11 and nox builds don't have this
support, and Cygwin lacks the facilities used on unix-like systems to
provide it (/proc/apm, etc.).  But it turns out to be easy to compile
and use Fw32_battery_status on all Cygwin builds, simply by pulling it
out of w32fns.c into a new file.

The attached patch does this.  OK to push?

Yes, but see some comments below.

Thanks for the review. I've pushed it to master with the changes you suggested.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]