Note that diesel generators have the counter intuitive property of using more fuel at 50% of max load than at 80% of max load. Most other power generations have some variation of this where operating a 80-90% of max power is where they are more fuel efficient. Thus even for conventional generation battery backup on the grid has the potential to save money.