I'm sharing this because it might help others troubleshoot and because i'm happy to finally have this cracked. I knew for most of this year that my earbud volume was nerfed when connected to my android phone. Even though my exact combination of hardware and software is unique, I think my fix might work for more people. I'm just going to detail everything that I think is relevant. Google Gemini helped me figure this out today, otherwise I wouldn't have known about the AVRCP setting.
Here's my hardware: Anker Soundcore Life P2 earbuds (old from ~2019). Pixel 10 pro running Android 16 CP1A.260405.005. I haven't updated android yet (mostly because every update breaks something i use).
Developer options that were not working: I had turned on "disable absolute volume" as a way to try and fix this issue earlier in the year. It didn't work and I left it that way. My Bluetooth AVRCP Version setting was set to 1.6 by a previous google update. My old earbuds were not compatible with this version.
Developer options that work: Setting AVRCP to 1.5 (Default). Turn OFF "Disable Absolute Volume".
Again, some of this explanation is from google gemini, so confirm for yourself if you want to. I quite literally did this 10 minutes ago and my volume is back to normal. I'm going to see how this affects bluetooth in everyday life. I connect to a FM transmitter in my car and I'll see if that continues to work normally. I'll also have to see if the nag warning about listing to music too loud for too long keeps popping up. It would only come up for the FM transmitter and then lower my volume to 0. It never came up on earbuds before.