Opened 17 years ago

Closed 17 years ago

#126 closed enhancement (fixed)

acpibattery.exe utility should only show existing battery(s)

Reported by: yoda Owned by: pasha
Priority: minor Milestone: Release version 3.08
Component: Utilities Version: 3.03
Keywords: acpibattery Cc: yoda

Description

Currently, ACPIBATTERY.EXE shows 2 batteries here - even only 1 exists.
This is very annoying, as info from 1'st battery scrolls out of screen,
and leves only bogus info from non-existing battery on screen.

It would be nice if app could either auto-detect how many batteries really is
in use, or if we could get a parameter like /1 added - which should force app
to only show first battery. (Maybe a /2 which would only show 2'nd battery
could be useful to somebody too).

Attachments (1)

AcpiBattery.exe (21.7 KB ) - added by pasha 17 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by yoda, 17 years ago

Component: APM.ADDACPI utilities
Owner: pasha removed

by pasha, 17 years ago

Attachment: AcpiBattery.exe added

comment:2 by pasha, 17 years ago

Try "AcpiBattery s"

comment:3 by yoda, 17 years ago

Acpibattery s works fine - only shows 1'st (and only) battery :-)

in reply to:  2 comment:4 by yoda, 17 years ago

Replying to pasha:

Try "AcpiBattery s"

Here is output from acpibattery s : J:\OS2\ACPI\util>AcpiBattery.exe s Show ACPI battery state Found Smart Battery "BAT1" Battery status 0x1f =========== Battery design =============== Power Unit: capacity is mA , charge/discharge rate is mA 1 Design capacity 4800 mA 1 Last full charge capacity 4698 mA 1 Battery technology 1 1 Design voltage 14800 mV 1 Design capacity of warning 300 mA 1 Design capacity of low 187 mA 1 Baterry granularity between low and warning 32 mA 1 Baterry granularity between warning and high 32 mAh 2 ModelNumber: "ZB01" 4 bytes "5a423031" 3 SerialNumber: "166" 9 bytes 31 2 Battery type: "LION"4 bytes 2 OEM info: "11 " 10 =========== Battery Status =============== 1 Battery present rate 0 1 Battery remaining capacity 4698 1 Battery present voltage 0 mV Remaining Battery Percentage: 100 Found Smart Battery "BAT2" Battery status 0xf Status 0x0 0 - No error

comment:5 by yoda, 17 years ago

Owner: set to pasha

comment:6 by eco, 17 years ago

Resolution: fixed
Status: newclosed

user confirmed that the AcpiBattery.exe works fine now. the ticket is closed.

Note: See TracTickets for help on using tickets.