The graph below shows the battery life of a cell phone throughout the day:

Is the function linear or nonlinear?

The question cannot be answered without seeing the graph mentioned.