Compare the same noise-cancellation setting
Write down whether you normally use active noise cancellation. JBL lists the Tune 770NC at up to 44 hours with ANC and 70 hours without it; Sony lists the WH-CH720N at up to 35 hours with cancellation and 50 without. Compare the matching mode first. These manufacturer maxima are not measurements of your daily listening.
Keep battery capacity separate from sound preferences
A longer published listening time does not establish better sound, microphone performance or comfort. Make a shortlist around your listening setting, then check the features you actually use. If the headphones will stay at a desk, charging opportunities may matter more to you than the largest maximum-hours figure.
Check the device and connection requirements
List the phone, computer and other devices you use. Verify Bluetooth pairing, supported audio formats and any simultaneous-device function in the exact model's documentation. Check wired operation separately, including whether your source has the required socket and whether the feature you need works in that mode.
Plan a realistic charging routine
Check charging time, the included cable and any charger you need to provide. Published battery results vary with volume, connection, enabled features and usage. Choose a routine that covers your normal sessions with spare margin. Check fit and return conditions if you cannot try the headphones before buying.
Further reading
A new product should solve a clear problem or add something useful to your day. Check the exact specifications and compatibility before spending.