summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: e6d70fa)
raw | patch | inline | side by side (parent: e6d70fa)
author | Nicholas Humfrey <njh@aelius.com> | |
Mon, 17 Nov 2014 23:16:05 +0000 (23:16 +0000) | ||
committer | Nicholas Humfrey <njh@aelius.com> | |
Mon, 17 Nov 2014 23:16:05 +0000 (23:16 +0000) |
src/battery.c | patch | blob | history |
diff --git a/src/battery.c b/src/battery.c
index 62c2964bcffb71544c9aa341206fa6e84bfa0b32..185442c10d319aa53011b2e1c87f058f28fd254c 100644 (file)
--- a/src/battery.c
+++ b/src/battery.c
battery_submit ("0", "current", current);
if (!isnan (voltage))
battery_submit ("0", "voltage", voltage);
+
+ return (0);
} /* }}} int battery_read */
/* #endif HAVE_IOKIT_IOKITLIB_H || HAVE_IOKIT_PS_IOPOWERSOURCES_H */