public double powerRequest(){
  update();
  return Math.min(maxEnergyReceived,maxEnergyStored - energyStored);
}

public double powerRequest ( ) { update ( ) ; return Math . min ( maxEnergyReceived , maxEnergyStored - energyStored ) ; }
the amount of power that this powerhandler currently needs .
