On my FR255 with firmware 19.18, the Toybox.SensorHistory.getBodyBatteryHistory() function fails with an "invalid value" CIQ error if I pass options with a Time.Duration period value. If I pass a bare integer for period, it works.
This is inconsistent with the API docs that say an integer can be used for raw number of samples or a duration to request samples for a given number of seconds.