Opened 12 years ago

Closed 12 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 12 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 12 years ago by yoda

  • Component changed from APM.ADD to ACPI utilities
  • Owner pasha deleted

Changed 12 years ago by pasha

comment:2 follow-up: Changed 12 years ago by pasha

Try "AcpiBattery? s"

comment:3 Changed 12 years ago by yoda

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

comment:4 in reply to: ↑ 2 Changed 12 years ago by yoda

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 Changed 12 years ago by yoda

  • Owner set to pasha

comment:6 Changed 12 years ago by eco

  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.