From owner-freebsd-mobile@FreeBSD.ORG Mon Apr 7 19:42:46 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 F27A2106564A for ; Mon, 7 Apr 2008 19:42:46 +0000 (UTC) (envelope-from minusm@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.187]) by mx1.freebsd.org (Postfix) with ESMTP id 701E68FC13 for ; Mon, 7 Apr 2008 19:42:45 +0000 (UTC) (envelope-from minusm@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so2579955fka.11 for ; Mon, 07 Apr 2008 12:42:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; bh=jrkJz4BOuApQAx9tLNM4hbEOJYanAfSVS3VZbdN/N+Y=; b=QHcd7DoYF/dqlo+FymdB4MVfHf/TWGD0AXJro5t86/DHFPrAbqJEOdlU+RcgZVIUtjL8aU8Cylyp4AoXPnRJhbYqgfWOXrYQ2AnHn3YOM1GvD/eCXyXGt32S2moPZt9l6x+msMnRx1+K2wA7QOacD485DurXMFLG8ziQBsuEYHo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding:sender; b=qa6jpE9spf3SiHtWo3aHvbJUtsGhtG5VIdcTb1QZLJxt5wYXgcbyUJNdg9TR/AG51qUDkLLrnc77FX68+VAm9uHDA90gh+GGG8ikOPzYys0C5Wt8NPhNkRJ3HaKQ5wo77/U5mCqJjuyReOw3jhG78ZhlS+cRmWRTXHzbBKI6oDA= Received: by 10.82.139.20 with SMTP id m20mr8723395bud.16.1207595881264; Mon, 07 Apr 2008 12:18:01 -0700 (PDT) Received: from ?192.168.11.3? ( [86.49.9.117]) by mx.google.com with ESMTPS id f31sm15581768fkf.15.2008.04.07.12.17.57 (version=SSLv3 cipher=RC4-MD5); Mon, 07 Apr 2008 12:17:59 -0700 (PDT) Message-ID: <47FA7351.4030601@users.sf.net> Date: Mon, 07 Apr 2008 21:17:37 +0200 From: martinko User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.1.13) Gecko/20080402 SeaMonkey/1.1.9 MIME-Version: 1.0 To: Lars Engels References: <0319208F-8098-4EAA-B3DA-22C6FE1C02DD@langille.org> <20080326155507.wiubhspc04ok440g@0x20.net> <47F8AD88.2010406@users.sf.net> <20080407133354.djlrjmnm04ks0www@0x20.net> In-Reply-To: <20080407133354.djlrjmnm04ks0www@0x20.net> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Sender: martinko Cc: 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: Mon, 07 Apr 2008 19:42:47 -0000 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 > shortcut which shows me the OSD whenever I need it. > But the shortcut doesn't work in every case e.g. when playing > fullscreen games. So I taught nbosd to work together with devd and now > nbosd has an option to 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 up > that's why I haven't committed the new version. > I hope that my (very limited atm :-( ) time allows me get it 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 out when my laptop dies abruptly. That's why I'm trying to figure out how best to prevent such situations. And what do you say about my suggestion to render battery life text and graphics in red when running on DC and too low ? Would it be possible ? Cheers, Martin