Patent ID: 8510238

Claim:
A method, comprising: receiving feature-related data at a machine-learning service executing on a mobile platform, wherein the feature-related data comprises usage-related data about one or more durations that the mobile platform is activated and platform-related data received from the mobile platform, and wherein the usage-related data and the platform-related data differ; determining whether the machine-learning service is trained to perform machine-learning operations related to predicting a duration that the mobile platform will be activated; and in response to determining that the machine-learning service is trained: receiving, at the machine-learning service, a request for a predicted duration that the mobile platform will be activated, determining the predicted duration by the machine-learning service performing a machine-learning operation on the feature-related data, selecting one or more media files from a plurality of media files based on the predicted duration by at least: determining a total duration based on an associated duration of each media file of the one or more media files, and selecting the one or more media files based on the total duration by at least: determining whether the total duration is less than the predicted duration; and after determining that the total duration is less than the predicted duration, selecting the one or more media files; and presenting the selected one or more media files using the mobile platform.