Back to problems

Design a battery-life predictor and cold-start strategy

Algorithm · Google · Hard

Design a per-device predictor that estimates how many minutes remain before a smartphone battery reaches 0% charge. You are provided with minute-granularity telemetry containing the following attributes: device_id, model, t_minute, soc_percent (integer from 0 through 100), screen_on (binary), brightness_pct, cpu_util, temp_c, net_type, app_fg_cat, charging (binary), battery_health_days, and ambient_lux. At the moment of inference, the target unit reports soc_percent = 37.…

Checking your access…