Can a provider retain all traffic and location data because a public authority may need it later?
No general EU permission follows from that possibility. The cited CJEU material rejects preventive general and indiscriminate retention as the default and describes narrower routes with specific purposes, limits, safeguards, and review. The provider needs the applicable national measure or instruction before relying on one of those routes.