Purchased this notebook used, but very nicely cared for, excellent condition. I ran the Apple Hardware Test and everything passed including the logic board. The battery has 500+cycles. The problem is laptop shuts down at 50% or less of battery. Clock is wrong at startup but is correct a few seconds later. Runs forever and very nicely on ac power. Please advise.