Hello,
Is there any way to monitor the charge left on the battery of a laptop?
Like how much percentage of the battery charge is left to allow us to
estimate how long it will work without connecting to a wall socket?
I googled for monitoring battery openbsd but got nothing satisfactory.
Best
On Mon, 25 Feb 2008, Mayuresh Kathe wrote:
I googled for monitoring battery openbsd but got nothing satisfactory.
apm(8)
--
Antoine
googled for monitoring battery openbsd but got nothing satisfactory.
$ apropos power|grep '(8)'
apm (8) - Advanced Power Management control program
apmd (8) - Advanced Power Management monitor daemon
--
Boudewijn Dijkstra
Indes - IDS B.V.
+31 345 545 535
On Mon, Feb 25, 2008 at 5:45 PM, Antoine Jacoutot [EMAIL PROTECTED] wrote:
On Mon, 25 Feb 2008, Mayuresh Kathe wrote:
I googled for monitoring battery openbsd but got nothing satisfactory.
apm(8)
Thanks for that Antoine.
I tried 'apm -b' to get the battery status, but it showed 255, which
On Mon, Feb 25, 2008 at 1:22 PM, Mayuresh Kathe
[EMAIL PROTECTED] wrote:
On Mon, Feb 25, 2008 at 5:45 PM, Antoine Jacoutot [EMAIL PROTECTED] wrote:
On Mon, 25 Feb 2008, Mayuresh Kathe wrote:
I googled for monitoring battery openbsd but got nothing satisfactory.
apm(8)
Thanks
Op Mon, 25 Feb 2008 13:22:24 +0100 schreef Mayuresh Kathe
[EMAIL PROTECTED]:
On Mon, Feb 25, 2008 at 5:45 PM, Antoine Jacoutot [EMAIL PROTECTED]
wrote:
On Mon, 25 Feb 2008, Mayuresh Kathe wrote:
I googled for monitoring battery openbsd but got nothing
satisfactory.
apm(8)
I tried
googled for monitoring battery openbsd but got nothing
satisfactory.
apm(8)
Thanks for that Antoine.
I tried 'apm -b' to get the battery status, but it showed 255, which
is 'unknown', is it because my laptop isn't properly supported?
Is there anything I could do
Mayuresh Kathe [EMAIL PROTECTED] writes:
How do I check whether its a non-apm laptop?
It's a ThinkPad R61i, dmesg below;
in that case, sysctl hw should give something like
[EMAIL PROTECTED]:~$ sysctl hw
hw.machine=i386
hw.model=Genuine Intel(R) CPU T2400 @ 1.83GHz (GenuineIntel 686-class)
Peter N. M. Hansteen writes:
notice the hw.sensors.acpibat0.* values. I haven't really
looked for anything that shows those values live or in a
graphical form, but that doesn't mean it doesn't exist or
could not be easily ported from $elsewhere.
This is in systat(1).
Deanna Phillips [EMAIL PROTECTED] writes:
notice the hw.sensors.acpibat0.* values. I haven't really
looked for anything that shows those values live or in a
graphical form, but that doesn't mean it doesn't exist or
could not be easily ported from $elsewhere.
This is in systat(1).
and with
This is how I do it;
#!/bin/sh
#
# Script used for giving system information
# Last modified: 27-01-2008
while : ;
do
cpuspeed0=$(sysctl -n hw.cpuspeed)
cputempe0=$(sysctl -n hw.sensors.cpu0.temp0)
systempe0=$(sysctl -n hw.sensors.acpitz0.temp0)
battcapa0=$(sysctl
Peter N. M. Hansteen [EMAIL PROTECTED] wrote:
notice the hw.sensors.acpibat0.* values. I haven't really looked for
anything that shows those values live or in a graphical form, but that
doesn't mean it doesn't exist or could not be easily ported from $elsewhere.
ports/sysutils/xbatt:
`xbatt'
Peter N. M. Hansteen ha scritto:
Mayuresh Kathe [EMAIL PROTECTED] writes:
How do I check whether its a non-apm laptop?
It's a ThinkPad R61i, dmesg below;
in that case, sysctl hw should give something like
[EMAIL PROTECTED]:~$ sysctl hw
and if not exist hw.sensors and apm -b
raven [EMAIL PROTECTED] writes:
and if not exist hw.sensors and apm -b return 255 ? What we can do ? (
i think nothing)
dmesg and other data would help, but yes, you may have run into
something that's not supported (yet)
--
Peter N. M. Hansteen, member of the first RFC 1149 implementation
PROTECTED]
wrote:
On Mon, 25 Feb 2008, Mayuresh Kathe wrote:
I googled for monitoring battery openbsd but got nothing
satisfactory.
apm(8)
Thanks for that Antoine.
I tried 'apm -b' to get the battery status, but it showed 255, which
is 'unknown
15 matches
Mail list logo