From owner-freebsd-mobile@FreeBSD.ORG Tue Apr 22 09:49:45 2008 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19D10106567A; Tue, 22 Apr 2008 09:49:45 +0000 (UTC) (envelope-from lme@FreeBSD.org) Received: from mail.0x20.net (mail.ipv6.0x20.net [IPv6:2001:aa8:fffb::3]) by mx1.freebsd.org (Postfix) with ESMTP id 9712E8FC12; Tue, 22 Apr 2008 09:49:44 +0000 (UTC) (envelope-from lme@FreeBSD.org) Received: from mail.0x20.net (mail.0x20.net [217.69.67.217]) by mail.0x20.net (Postfix) with ESMTP id 54CD239E4F; Tue, 22 Apr 2008 11:49:43 +0200 (CEST) Received: from 193.109.238.110 ([193.109.238.110]) by 0x20.net (Horde MIME library) with HTTP; Tue, 22 Apr 2008 11:49:43 +0200 Message-ID: <20080422114943.bih64qriwwo80k84@0x20.net> Date: Tue, 22 Apr 2008 11:49:43 +0200 From: Lars Engels To: Lars Engels References: <0319208F-8098-4EAA-B3DA-22C6FE1C02DD@langille.org> <20080326155507.wiubhspc04ok440g@0x20.net> <47F8AD88.2010406@users.sf.net> <20080407133354.djlrjmnm04ks0www@0x20.net> <47FA7351.4030601@users.sf.net> <20080414220641.GK50049@e.0x20.net> In-Reply-To: <20080414220641.GK50049@e.0x20.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=_1b9kqpdq3t8g"; protocol="application/pgp-signature"; micalg="pgp-sha1" Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.1.3) Cc: martinko , freebsd-mobile@freebsd.org Subject: Re: battery monitor with KDE 64 bit X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Apr 2008 09:49:45 -0000 This message is in MIME format and has been PGP signed. --=_1b9kqpdq3t8g Content-Type: text/plain; charset=ISO-8859-15; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Quoting Lars Engels : > On Mon, Apr 07, 2008 at 09:17:37PM +0200, martinko wrote: >> Lars Engels wrote: >> >Quoting martinko : >> >>Hi Lars, >> >> >> >>sysutils/nbosd looks very nice and rather useful, thanks! :-) >> >> >> >>However, I can think of the following: >> >> >> >>There are 2 important/interesting information missing: >> >>- remaining run-time in hours:minutes when running on battery >> >>- CPU temperature (especially on laptops) >> > >> >Good idea, it should be no problem to use sysctl to get those values. >> > >> >>Also, it might be quite useful to render battery related info in red >> >>colour once battery charge drops below some (configurable) limit when >> >>not running on AC power. >> >> >> >>The last but not least important is this -- nbosd shows you info on >> >>demand only. I find that most often I forget about my battery running >> >>flat and thus nbosd wouldn't help. Any idea how to deal with it ? >> > >> >nbosd was designed to show the value on demand. I have a keyboard =20 >> shortcut which shows me the >> >OSD whenever I need it. >> >But the shortcut doesn't work in every case e.g. when playing =20 >> fullscreen games. So I taught >> >nbosd to work together with devd and now nbosd has an option to =20 >> run as a daemon and only shows >> >up when the battery percentage falls below a user-defined value. >> >It still has some rough corners and the code needs to be cleaned =20 >> up that's why I haven't >> >committed the new version. >> >I hope that my (very limited atm :-( ) time allows me get it =20 >> finished, soon. >> > >> >> Hi Lars, >> >> Remaining run-time (hours:minutes) could be next to the percentage value. >> I'm not sure about the temperature, though. >> >> I've set up a keyboard shotcut too (in WMaker) and it works great. >> However, sometimes I forget I'm running on battery and only find =20 >> out when my laptop dies >> abruptly. That's why I'm trying to figure out how best to prevent =20 >> such situations. >> >> And what do you say about my suggestion to render battery life text =20 >> and graphics in red when >> running on DC and too low ? Would it be possible ? > > > Hi Martin, > > somehow I didn't see you mail until now... > I just worked a bit on nbosd and it should fulfill your needs now: > A -d switch was added to run it as a daemon. You can give it an alarm > threshold with -a and the osd will pop up (in red ;-) ) when the current > battery level is below that threshold. > Additionally the remaining battery time is displayed. > I haven't committed the new version yet. I'd like to have one or two > testers before: > http://bsd-geek.de/FreeBSD/distfiles/nbosd-0.5.0.tar.gz > > So if you would like to try it, please give a feedback on it. > > Lars I updated the port to the last version. Have fun :) --=_1b9kqpdq3t8g Content-Type: application/pgp-signature Content-Description: PGP Digital Signature Content-Disposition: inline Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (FreeBSD) iD8DBQBIDbS3Kc512sD3afgRAhnGAJ9YqBA2m34mHwLyaOcBc2fQJrKPmACcD9lb Kui5i0/foR9Wa/j6VV3cUb4= =XxTD -----END PGP SIGNATURE----- --=_1b9kqpdq3t8g--