Online Job Scheduling Algorithms under Energy Constraints