[Nexus 4 Original Android Development] Mr. Kostik:
While charging wirelessly on this kernel the battery stays at 100% after charged (the charger charges it to 100% every few minutes), while on stock it slowly discharges after reaching 100% once. Why is that? Isn't the stock behavior better for the battery?

Here is a log file:

2013/08/21 03:53:48,179mA,97%,4.317V,30,9°C

2013/08/21 03:54:48,177mA,98%,4.317V,30,9°C

2013/08/21 03:54:48,177mA,98%,4.317V,30,9°C

2013/08/21 03:55:48,172mA,98%,4.319V,30,9°C

2013/08/21 03:55:48,170mA,98%,4.319V,30,9°C

2013/08/21 03:56:48,169mA,98%,4.319V,30,9°C

2013/08/21 03:56:48,166mA,98%,4.319V,30,9°C

2013/08/21 03:57:48,163mA,98%,4.32V,30,9°C

2013/08/21 03:57:48,162mA,98%,4.32V,30,9°C

2013/08/21 03:58:48,159mA,98%,4.319V,30,8°C

2013/08/21 03:58:48,156mA,98%,4.319V,30,8°C

2013/08/21 03:59:48,153mA,99%,4.319V,30,8°C

2013/08/21 03:59:48,151mA,99%,4.319V,30,8°C

2013/08/21 04:00:48,150mA,99%,4.317V,30,8°C

2013/08/21 04:00:49,147mA,99%,4.317V,30,8°C

2013/08/21 04:01:49,145mA,99%,4.321V,30,8°C

2013/08/21 04:01:49,142mA,99%,4.321V,30,8°C

2013/08/21 04:02:49,140mA,99%,4.321V,30,8°C

2013/08/21 04:02:49,127mA,99%,4.321V,30,8°C

2013/08/21 04:03:49,130mA,99%,4.321V,30,7°C

2013/08/21 04:03:49,133mA,99%,4.321V,30,7°C

2013/08/21 04:04:49,115mA,99%,4.321V,30,6°C

2013/08/21 04:04:49,130mA,99%,4.321V,30,6°C

2013/08/21 04:05:49,105mA,100%,4.321V,30,6°C

2013/08/21 04:05:49,124mA,100%,4.321V,30,6°C

2013/08/21 04:06:49,122mA,100%,4.323V,30,6°C

2013/08/21 04:06:49,120mA,100%,4.323V,30,6°C

2013/08/21 04:07:49,117mA,100%,4.322V,30,5°C

2013/08/21 04:07:49,84mA,100%,4.322V,30,5°C

2013/08/21 04:08:50,116mA,100%,4.322V,30,5°C

2013/08/21 04:08:50,82mA,100%,4.322V,30,5°C

2013/08/21 04:09:50,110mA,100%,4.322V,30,5°C

2013/08/21 04:09:50,110mA,100%,4.322V,30,5°C

2013/08/21 04:10:50,108mA,100%,4.323V,30,4°C

2013/08/21 04:10:50,105mA,100%,4.323V,30,4°C

2013/08/21 04:11:50,105mA,100%,4.323V,30,4°C

2013/08/21 04:11:50,92mA,100%,4.323V,30,4°C

2013/08/21 04:12:50,84mA,100%,4.322V,30,3°C

2013/08/21 04:12:50,101mA,100%,4.322V,30,3°C

2013/08/21 04:13:50,82mA,100%,4.324V,30,2°C

2013/08/21 04:13:50,96mA,100%,4.324V,30,2°C

2013/08/21 04:14:50,86mA,100%,4.324V,30,2°C

2013/08/21 04:14:50,94mA,100%,4.324V,30,2°C

2013/08/21 04:15:59,-5mA,100%,4.294V,30,2°C

2013/08/21 04:15:59,-112mA,100%,4.294V,30,2°C

2013/08/21 04:17:00,-1mA,100%,4.294V,30,2°C

2013/08/21 04:17:00,-1mA,100%,4.294V,30,2°C

2013/08/21 04:18:00,98mA,100%,4.322V,29,4°C

2013/08/21 04:18:00,123mA,100%,4.322V,29,4°C

2013/08/21 04:19:00,76mA,100%,4.319V,29,4°C

2013/08/21 04:19:00,88mA,100%,4.319V,29,4°C

2013/08/21 04:20:01,-2mA,100%,4.295V,29,4°C

2013/08/21 04:20:01,-2mA,100%,4.295V,29,4°C

2013/08/21 04:21:02,-9mA,100%,4.287V,29,4°C

2013/08/21 04:21:02,-9mA,100%,4.287V,29,4°C

2013/08/21 04:22:02,-110mA,100%,4.287V,29,4°C

2013/08/21 04:22:02,-121mA,100%,4.287V,29,4°C

2013/08/21 04:23:03,-43mA,100%,4.287V,29,4°C

2013/08/21 04:23:03,-43mA,100%,4.287V,29,4°C

2013/08/21 04:24:03,-2mA,100%,4.287V,29,4°C

2013/08/21 04:24:03,-2mA,100%,4.287V,29,4°C

2013/08/21 04:25:04,-35mA,100%,4.287V,29,4°C

2013/08/21 04:25:04,-35mA,100%,4.287V,29,4°C

2013/08/21 04:26:04,-2mA,100%,4.287V,29,4°C

2013/08/21 04:26:04,-2mA,100%,4.287V,29,4°C

2013/08/21 04:27:04,-52mA,100%,4.288V,27,7°C

2013/08/21 04:27:04,-52mA,100%,4.288V,27,7°C

2013/08/21 04:28:04,-38mA,100%,4.291V,27,6°C

2013/08/21 04:28:04,-38mA,100%,4.291V,27,6°C

2013/08/21 04:29:04,-19mA,100%,4.291V,27,4°C

2013/08/21 04:29:04,-19mA,100%,4.291V,27,4°C

2013/08/21 04:30:06,-2mA,100%,4.286V,27,4°C

2013/08/21 04:30:06,-2mA,100%,4.286V,27,4°C

2013/08/21 04:31:07,-118mA,100%,4.286V,27,4°C

2013/08/21 04:31:07,-124mA,100%,4.286V,27,4°C

2013/08/21 04:32:07,-6mA,100%,4.286V,27,4°C

2013/08/21 04:32:07,-6mA,100%,4.286V,27,4°C

2013/08/21 04:33:07,-26mA,100%,4.286V,27,4°C

2013/08/21 04:33:07,-26mA,100%,4.286V,27,4°C

2013/08/21 04:34:08,-5mA,100%,4.286V,27,4°C

2013/08/21 04:34:08,-5mA,100%,4.286V,27,4°C

2013/08/21 04:35:08,-5mA,100%,4.286V,27,4°C

2013/08/21 04:35:08,-5mA,100%,4.286V,27,4°C

2013/08/21 04:36:09,-1mA,100%,4.286V,27,4°C

2013/08/21 04:36:09,-110mA,100%,4.286V,27,4°C

2013/08/21 04:37:09,-4mA,100%,4.279V,26,0°C

2013/08/21 04:37:09,-4mA,100%,4.279V,26,0°C

2013/08/21 04:38:09,148mA,100%,4.312V,26,0°C

2013/08/21 04:38:09,148mA,100%,4.312V,26,0°C

2013/08/21 04:39:09,121mA,100%,4.323V,26,1°C

2013/08/21 04:39:09,120mA,100%,4.323V,26,1°C

2013/08/21 04:40:09,110mA,100%,4.323V,26,3°C

2013/08/21 04:40:09,89mA,100%,4.323V,26,3°C

2013/08/21 04:41:09,91mA,100%,4.323V,26,4°C

2013/08/21 04:41:09,88mA,100%,4.323V,26,4°C

2013/08/21 04:42:11,-24mA,100%,4.295V,27,2°C

2013/08/21 04:42:11,-24mA,100%,4.293V,26,5°C

2013/08/21 04:43:12,-2mA,100%,4.293V,26,5°C

2013/08/21 04:43:12,-2mA,100%,4.293V,26,5°C

2013/08/21 04:44:13,-1mA,100%,4.293V,26,5°C

2013/08/21 04:44:13,-1mA,100%,4.293V,26,5°C

2013/08/21 04:45:13,-2mA,100%,4.293V,26,5°C

2013/08/21 04:45:13,-2mA,100%,4.293V,26,5°C

2013/08/21 04:46:13,128mA,100%,4.318V,26,0°C

2013/08/21 04:46:13,123mA,100%,4.318V,26,0°C

2013/08/21 04:47:13,104mA,100%,4.323V,26,2°C

2013/08/21 04:47:13,101mA,100%,4.323V,26,2°C

2013/08/21 04:48:15,111mA,100%,4.324V,26,4°C

2013/08/21 04:48:15,-111mA,100%,4.292V,26,3°C

2013/08/21 04:49:15,-21mA,100%,4.292V,26,3°C

2013/08/21 04:49:15,-21mA,100%,4.292V,26,3°C

2013/08/21 04:50:16,-10mA,100%,4.292V,26,3°C

2013/08/21 04:50:16,-10mA,100%,4.292V,26,3°C

2013/08/21 04:51:16,102mA,100%,4.322V,26,1°C

2013/08/21 04:51:16,100mA,100%,4.322V,26,1°C

2013/08/21 04:52:17,-2mA,100%,4.293V,26,2°C

2013/08/21 04:52:17,-2mA,100%,4.293V,26,2°C

2013/08/21 04:53:17,-2mA,100%,4.292V,26,2°C

2013/08/21 04:53:17,-2mA,100%,4.292V,26,2°C

2013/08/21 04:54:18,-1mA,100%,4.292V,26,2°C

2013/08/21 04:54:18,-1mA,100%,4.292V,26,2°C

2013/08/21 04:55:18,-5mA,100%,4.292V,26,2°C

2013/08/21 04:55:18,-5mA,100%,4.292V,26,2°C

2013/08/21 04:56:19,-47mA,100%,4.292V,26,2°C

2013/08/21 04:56:19,-47mA,100%,4.292V,26,2°C

2013/08/21 04:57:19,-6mA,100%,4.289V,25,8°C

2013/08/21 04:57:19,-6mA,100%,4.289V,25,8°C

2013/08/21 04:58:20,-6mA,100%,4.289V,25,8°C

2013/08/21 04:58:20,-6mA,100%,4.289V,25,8°C

2013/08/21 04:59:20,101mA,100%,4.319V,25,6°C

2013/08/21 04:59:20,101mA,100%,4.319V,25,6°C

2013/08/21 05:00:21,-5mA,100%,4.294V,25,8°C

2013/08/21 05:00:21,-5mA,100%,4.294V,25,8°C

2013/08/21 05:01:21,-114mA,100%,4.294V,25,8°C

2013/08/21 05:01:21,-114mA,100%,4.294V,25,8°C

2013/08/21 05:02:22,-9mA,100%,4.294V,25,8°C

2013/08/21 05:02:22,-9mA,100%,4.294V,25,8°C

2013/08/21 05:03:22,-2mA,100%,4.294V,25,8°C

2013/08/21 05:03:22,-2mA,100%,4.294V,25,8°C

2013/08/21 05:04:23,-6mA,100%,4.294V,25,8°C

2013/08/21 05:04:23,-149mA,100%,4.294V,25,8°C

2013/08/21 05:05:23,85mA,100%,4.323V,25,2°C

2013/08/21 05:05:23,92mA,100%,4.323V,25,2°C

2013/08/21 05:06:24,-32mA,100%,4.291V,25,3°C

2013/08/21 05:06:24,-32mA,100%,4.291V,25,3°C

2013/08/21 05:07:24,-71mA,100%,4.291V,25,3°C

2013/08/21 05:07:24,-71mA,100%,4.291V,25,3°C

2013/08/21 05:08:25,-9mA,100%,4.291V,25,3°C

2013/08/21 05:08:25,-9mA,100%,4.291V,25,3°C

2013/08/21 05:09:25,-107mA,100%,4.291V,25,3°C

2013/08/21 05:09:25,-107mA,100%,4.291V,25,3°C

2013/08/21 05:10:26,-59mA,100%,4.287V,24,8°C

2013/08/21 05:10:26,-59mA,100%,4.287V,24,8°C

2013/08/21 05:11:26,100mA,100%,4.315V,24,8°C

2013/08/21 05:11:26,105mA,100%,4.315V,24,8°C

2013/08/21 05:12:27,-1mA,100%,4.292V,25,0°C

2013/08/21 05:12:27,-1mA,100%,4.292V,25,0°C

2013/08/21 05:13:27,-6mA,100%,4.292V,25,0°C

2013/08/21 05:13:27,-6mA,100%,4.292V,25,0°C

2013/08/21 05:14:27,109mA,100%,4.317V,24,8°C

2013/08/21 05:14:27,102mA,100%,4.317V,24,8°C

2013/08/21 05:15:28,-23mA,100%,4.288V,24,9°C

2013/08/21 05:15:28,-23mA,100%,4.288V,24,9°C

2013/08/21 05:16:29,-1mA,100%,4.288V,24,9°C

2013/08/21 05:16:29,-1mA,100%,4.288V,24,9°C

2013/08/21 05:17:29,-1mA,100%,4.288V,24,9°C

2013/08/21 05:17:29,-1mA,100%,4.288V,24,9°C

2013/08/21 05:18:30,-4mA,100%,4.288V,24,9°C

2013/08/21 05:18:30,-4mA,100%,4.288V,24,9°C

2013/08/21 05:19:30,-27mA,100%,4.288V,24,9°C

2013/08/21 05:19:30,-27mA,100%,4.288V,24,9°C

2013/08/21 05:20:31,-14mA,100%,4.288V,24,9°C

2013/08/21 05:20:31,-14mA,100%,4.288V,24,9°C

2013/08/21 05:21:31,-9mA,100%,4.288V,24,9°C

2013/08/21 05:21:31,-9mA,100%,4.288V,24,9°C

2013/08/21 05:22:32,-2mA,100%,4.288V,24,9°C

2013/08/21 05:22:32,-2mA,100%,4.288V,24,9°C

2013/08/21 05:23:32,-35mA,100%,4.288V,24,9°C

2013/08/21 05:23:32,-35mA,100%,4.288V,24,9°C

2013/08/21 05:24:33,-2mA,100%,4.288V,24,9°C

2013/08/21 05:24:33,-66mA,100%,4.288V,24,9°C

2013/08/21 05:25:33,110mA,100%,4.316V,24,2°C

2013/08/21 05:25:33,108mA,100%,4.316V,24,2°C

2013/08/21 05:26:33,-25mA,100%,4.298V,24,4°C

2013/08/21 05:26:33,-68mA,100%,4.298V,24,4°C

2013/08/21 05:27:33,-32mA,100%,4.297V,24,5°C

2013/08/21 05:27:33,-32mA,100%,4.297V,24,5°C

2013/08/21 05:28:33,-28mA,100%,4.296V,24,4°C

2013/08/21 05:28:33,-28mA,100%,4.296V,24,4°C

2013/08/21 05:29:33,122mA,100%,4.317V,24,4°C

2013/08/21 05:29:33,97mA,100%,4.317V,24,4°C

2013/08/21 05:30:33,91mA,100%,4.324V,24,6°C

2013/08/21 05:30:33,96mA,100%,4.324V,24,6°C

2013/08/21 05:31:36,-4mA,100%,4.292V,24,7°C

2013/08/21 05:31:36,-4mA,100%,4.292V,24,7°C

2013/08/21 05:32:36,93mA,100%,4.325V,24,7°C

2013/08/21 05:32:36,87mA,100%,4.325V,24,7°C

2013/08/21 05:33:36,107mA,100%,4.318V,24,7°C

2013/08/21 05:33:36,104mA,100%,4.318V,24,7°C

2013/08/21 05:34:36,96mA,100%,4.317V,24,8°C

2013/08/21 05:34:36,92mA,100%,4.317V,24,8°C

2013/08/21 05:35:38,-2mA,100%,4.287V,24,8°C

2013/08/21 05:35:38,-2mA,100%,4.287V,24,8°C

I'm on r176 and PA 3.97