"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) hw.ncpu=2 hw.byteorder=1234 hw.pagesize=4096 hw.disknames=cd0,sd0 hw.diskcount=2 hw.sensors.acpitz0.temp0=51.05 degC (zone temperature) hw.sensors.acpitz1.temp0=51.05 degC (zone temperature) hw.sensors.acpibat0.volt0=10.80 VDC (voltage) hw.sensors.acpibat0.volt1=11.49 VDC (current voltage) hw.sensors.acpibat0.watthour0=30.11 Wh (last full capacity) hw.sensors.acpibat0.watthour1=1.50 Wh (warning capacity) hw.sensors.acpibat0.watthour2=0.20 Wh (low capacity) hw.sensors.acpibat0.watthour3=28.96 Wh (remaining capacity), OK hw.sensors.acpibat0.raw0=1 (battery discharging), OK hw.sensors.acpibat0.raw1=23985 (rate) hw.sensors.acpiac0.indicator0=Off (power supply) hw.sensors.cpu0.temp0=51.00 degC hw.sensors.aps0.temp0=38.00 degC hw.sensors.aps0.temp1=38.00 degC hw.sensors.aps0.indicator0=On (Keyboard Active) hw.sensors.aps0.indicator1=Off (Mouse Active) hw.sensors.aps0.indicator2=On (Lid Open) hw.sensors.aps0.raw0=512 (X_ACCEL) hw.sensors.aps0.raw1=503 (Y_ACCEL) hw.sensors.aps0.raw2=512 (X_VAR) hw.sensors.aps0.raw3=503 (Y_VAR) hw.cpuspeed=1829 hw.setperf=100 hw.vendor=LENOVO hw.product=946154G hw.version=ThinkPad R60 hw.serialno=L3B0887 hw.uuid=4e92a801-48ac-11cb-8704-ef6f55e83b86 hw.physmem=2145808384 hw.usermem=2145800192 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. -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/ "Remember to set the evil bit on all malicious network traffic" delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.