No lah, those are still quite useful for any Naval planner to gather information about sea current, chlorophyle, salinity and other related stuff especially needed for Submarine operation. Those one found by Indonesian still had their camera is in active mode and working when being retrieved. The US too had developing their own sea glider and some had been found near China coastal area and the Chinese made a fuss and complained against US over such operation.
Those information can also be retrieved from ocean-sea current simulations. The simulations are much more accurate nowadays and chinese are investing in such researchs crazily.
Also there are satellites, civilian ships equipped with research equipments, image processing, local informants to measure such things and deliver to china, plus open scientific data published by indonesians or foreigners doing research in indonesia etc.
Everybody is developing a glider, scientific studies at the sea costs a lot. Too much money spent on researchers, crew, uuv operators plus the operation costs of the ships, gliders are so cheap that can be dropped in mass numbers, and can complete a similar research in a short time, and still cheaper than full research team.
They have great military use as well, but the ones caught in indonesia seem to wear off. Probably drifted around for a long time.
And kind of scientific study conducted had sea definitely has a military value, just it has to be interpreted that way and converted into valuable data.