The battery is giving me hassles too... On a full charge, after like 15-20 minutes it down to 85% and once it hits 80% the ibook seems to go to sleep and when i plug in the power cord it wakes up again and shows 0% battery.
Worn out battery, very common. Replacements are cheap.