Ticket #25 (closed defect: worksforme)
megasasctl reports battery fault - while megacli64 says 99% charged
| Reported by: | Harald Kapper <hk@…> | Owned by: | gandalf |
|---|---|---|---|
| Priority: | major | Milestone: | 1.0.0 |
| Component: | wiki | Version: | |
| Keywords: | megasys battery charge | Cc: |
Description
hi
megacli64 ( 8.00.23 May 17, 2010 ) says:
MegaCli64 -AdpBbuCmd? -a0
BBU Capacity Info for Adapter: 0
Relative State of Charge: 98 %
Absolute State of charge: 99 %
Remaining Capacity: 1208 mAh
Full Charge Capacity: 1237 mAh
Run time to empty: Battery is not being discharged
Average time to empty: Battery is not being discharged
Average Time to full: Battery is not being charged
Cycle Count: 2
Max Error: 2 %
Remaining Capacity Alarm: 120 mAh
Remaining Time Alarm: 10 Min
while
megasasctl -H ( V0.4.3) reports:
a0 IBM ServeRAID-MR10i SAS/SATA Controller encl:1 ldrv:1 batt:FAULT, unknown charge state
which looks wrong for me.
regards
hk
Attachments
Change History
comment:3 Changed 2 months ago by hostingnuggets@…
Same problem here with an IBM x3550 M3 (LSI MegaSAS 9260):
# megasasctl -H
a0 ServeRAID M5014 SAS/SATA Controller encl:1 ldrv:2 batt:FAULT, low voltage
Does anyone have an idea why megasasctl is not reporting correctly the battery status?
comment:4 Changed 5 days ago by gandalf
Hi,
I'm sorry, but I'm not the author of megactl... I'd suggest you to use megacli instead, or report this bug directly on sourceforge megacli's homepage, but the project looks really dead...
If someone has good low level programming skills, I'd be glad to integrate your patch ;-)
Regards, Adam.


Confirm this on IBM server, LSI MegaSAS 9260
# MegaCli64 -AdpBbuCmd -a0 BBU status for Adapter: 0 BatteryType: iBBU08 Voltage: 4048 mV Current: 0 mA Temperature: 26 C BBU Firmware Status: Charging Status : None Voltage : OK Temperature : OK Learn Cycle Requested : No Learn Cycle Active : No Learn Cycle Status : OK Learn Cycle Timeout : No I2c Errors Detected : No Battery Pack Missing : No Battery Replacement required : No Remaining Capacity Low : No Periodic Learn Required : No Transparent Learn : No Battery state: GasGuageStatus: Fully Discharged : No Fully Charged : No Discharging : No Initialized : No Remaining Time Alarm : No Remaining Capacity Alarm: Yes Discharge Terminated : No Over Temperature : No Charging Terminated : No Over Charged : No Relative State of Charge: 100 % Charger System State: 1 Charger System Ctrl: 0 Charging current: 0 mA Absolute state of charge: 0 % Max Error: 0 % BBU Capacity Info for Adapter: 0 Relative State of Charge: 100 % Absolute State of charge: 86 % Remaining Capacity: 1329 mAh Full Charge Capacity: 1338 mAh Run time to empty: Battery is not being discharged Average time to empty: 159 min Average Time to full: Battery is not being charged Cycle Count: 0 BBU Design Info for Adapter: 0 Date of Manufacture: 09/08, 2011 Design Capacity: 1530 mAh Design Voltage: 4100 mV Specification Info: 0 Serial Number: 11671 Pack Stat Configuration: 0x0000 Manufacture Name: LS36681 Device Name: bq27541 Device Chemistry: LPMR Battery FRU: N/A BBU Properties for Adapter: 0 Auto Learn Period: 2592000 Sec Next Learn time: 376149986 Sec Learn Delay Interval:0 Hours Auto-Learn Mode: Enabled BBU Mode = 5 Exit Code: 0x00