We can see the Samsung device's battery consumption for the last seven days in detail via the device maintenance. The battery consumption display shows us the consumption by apps or settings every hour. The diagram also shows the time of recharging.

Android 10 (One UI 2.0)
Step 1:  Open the  Settings
Step 2:  Tap on  Device care
Step 3:  Tap on  Battery
Step 4:  Tap on  Battery usage
  1. Open the Settings
  2. Tap on Device care
  3. Tap on Battery
  4. Tap on Battery usage

Samsung Instructions