Near-Optimal Scheduling for a Hybrid Battery-Diesel Generator for Offline-Grid Locations