Optimize performance and battery Fedora yoga 9i

how can I optimize performance and battery life on fedora? battery life is way worse than what I would get in windows and the laptop is almost constantly at 98+ c its a yoga 9i with an 11th gen evo i7

You may try TLP. It is pre-configured with sane defaults but can be further optimized after installation. It is packaged for Fedora.