The battery has a low cycle count according to system info (120 full cycles) but the charge is hit or miss, so might need a new battery. The included charger can run the system.
https://everymac.com/systems/apple/macbook_pro/specs/macbook-pro-core-2-duo-2.53-aluminum-15-mid-2009-sd-unibody-specs.html