I know, I had the problem when I got the Pixel. Already with the stock Android and then when installing Graphene. It took one or two weeks of tweaking until the battery life was on par with LineageOS. Not sure if I'd be able to reproduce it, but I think a combination of display settings and stand-by/background services. It's a thin line though, also making sure that Whatsapp notifications still work.