Today I've had my 2017 MacBook Pro asleep in my bag all day. I left home with it at 100% battery and ended up not using it for the entire day, I didn't even open the lid. When I got home, I opened it and it was at 0%. Here is the chart from the "Energy" tab of the Activity Monitor, you can see the green areas where it was on charge.
How do I diagnose what caused the battery to be entirely depleted? Other than this small chart I can't find any historical data about "Energy Impact".