CONFIG_TIMER_STATS is no more
The CONFIG_TIMER_STATS configuration option has been removed with the kernel along with /proc/timer_stats. See https://patchwork.kernel.org/patch/9563287/ . upower uses this in src/up-wakeup.c in three different places. None of that code is functional in modern kernels.
The comments on LKML around the patch suggest that there is other, better ways to get that data. Can you please patch upower to use these other methods to restore functionality?