From owner-freebsd-mobile Sun Aug 6 12:56:59 2000 Delivered-To: freebsd-mobile@freebsd.org Received: from peace.mahoroba.org (peace.calm.imasy.or.jp [202.227.26.34]) by hub.freebsd.org (Postfix) with ESMTP id A965337B52C; Sun, 6 Aug 2000 12:56:52 -0700 (PDT) (envelope-from ume@mahoroba.org) Received: from localhost (IDENT:oqYnYRooR1RTGAONv+dOSsVLH+3aWrONZ4mFquZRoPHYdI8AoVSYB8Er8iGyAhoF@localhost [::1]) (authenticated) by peace.mahoroba.org (8.11.0/3.7W-peace) with ESMTP id e76JucP51706; Mon, 7 Aug 2000 04:56:38 +0900 (JST) (envelope-from ume@mahoroba.org) Date: Mon, 07 Aug 2000 04:56:31 +0900 (JST) Message-Id: <20000807.045631.112579805.ume@mahoroba.org> To: mobile@freebsd.org, current@freebsd.org Subject: CFR: apm obtain per battery information From: Hajimu UMEMOTO X-Mailer: Mew version 1.95b38 on Emacs 20.6 / Mule 4.0 =?iso-2022-jp?B?KBskQjJWMWMbKEIp?= X-PGP-Public-Key: http://www.imasy.org/~ume/publickey.asc X-PGP-Fingerprint: 6B 0C 53 FC 5D D0 37 91 05 D0 B3 EF 36 9B 6A BC X-URL: http://www.imasy.org/~ume/ X-OS: FreeBSD 5.0-CURRENT Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I added output of per battery information to apm(1). To obtain this information safely, I propose new ioctl APMIO_GETPWSTATUS. http://www.imasy.or.jp/~ume/FreeBSD/apm-pwstatus.diff If there is no objection, I'll commit this next week end. Thanks, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan ume@mahoroba.org ume@bisd.hitachi.co.jp ume@FreeBSD.org http://www.imasy.org/~ume/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message