Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Discharge cycles "Flags"=133' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Discharge cycles "Flags"=133
Authored by: robx on Mar 14, '03 06:01:42AM

have two batteries on a lombard with strange flags, whats wrong?
1:
% /usr/sbin/ioreg -p IODeviceTree -n battery -w 0 | sed -n '/battery/','/}$/'p
| | +-o battery@3
| | | {
| | | "reg" =
| | | "AAPL,phandle" =
| | | "device_type" =
| | | "name" =
| | | "IOBatteryInfo" = (
{"Voltage"=12657,"Flags"=133,
"Amperage"=1055,"Capacity"=4425,"Current"=0},
{"Voltage"=0,"Flags"=1,
"Amperage"=0,"Capacity"=0,"Current"=0})
| | | }

2:
% /usr/sbin/ioreg -p IODeviceTree -n battery -w 0 | sed -n '/battery/','/}$/'p
| | +-o battery@3
| | | {
| | | "reg" =
| | | "AAPL,phandle" =
| | | "device_type" =
| | | "name" =
| | | "IOBatteryInfo" = (
{"Voltage"=11154,"Flags"=133,
"Amperage"=1055,"Capacity"=2642,"Current"=0},
{"Voltage"=0,"Flags"=1,
"Amperage"=0,"Capacity"=0,"Current"=0})
| | | }
BOTH:
% /usr/sbin/ioreg -p IODeviceTree -n battery -w 0 | sed -n '/battery/','/}$/'p
| | +-o battery@3
| | | {
| | | "reg" =
| | | "AAPL,phandle" =
| | | "device_type" =
| | | "name" =
| | | "IOBatteryInfo" = (
{"Voltage"=11154,"Flags"=133,
"Amperage"=1200,"Capacity"=2642,"Current"=0},
{"Voltage"=12520,"Flags"=133,
"Amperage"=1200,"Capacity"=4425,"Current"=0})
| | | }



[ Reply to This | # ]