{"id":84,"date":"2008-11-06T07:56:29","date_gmt":"2008-11-06T07:56:29","guid":{"rendered":"http:\/\/patrick-nagel.net\/blog\/?p=84"},"modified":"2009-02-01T02:46:04","modified_gmt":"2009-02-01T02:46:04","slug":"dell-inspiron-mini-9-battery-consumption-test","status":"publish","type":"post","link":"https:\/\/patrick-nagel.net\/blog\/archives\/84","title":{"rendered":"Dell Inspiron Mini 9 battery consumption test"},"content":{"rendered":"<p>Last night I ran a quick test on how long my new <a href=\"http:\/\/www.linlap.com\/wiki\/Dell+Inspiron+Mini+9\">Dell Inspiron Mini 9<\/a>&#8216;s battery would last under &#8220;normal netbook workload&#8221;.<\/p>\n<h3>Details:<\/h3>\n<ul>\n<li>OS: Gentoo Linux (what else? \ud83d\ude09 )<\/li>\n<li>Running programs: KDE 4, Konqueror, Thunderbird (fetching mail via IMAPS every 5 minutes)<\/li>\n<li>Conditions:\n<ul>\n<li>Wireless connection to Internet, shell script kills and reloads Konqueror with three websites every two minutes (emulating a user who browses the WWW).<\/li>\n<li>Display set to lowest brightness level, screensaver \/ standby \/ etc. deactivated so that it was switched on all the time<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><a href=\"http:\/\/patrick-nagel.net\/blog\/wp-content\/uploads\/2008\/11\/batterylog_desktop_screenshot.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/patrick-nagel.net\/blog\/wp-content\/uploads\/2008\/11\/batterylog_desktop_screenshot-300x175.png\" alt=\"\" title=\"Dell Mini battery consumption test screenshot\" width=\"300\" height=\"175\" class=\"aligncenter size-medium wp-image-88\" srcset=\"https:\/\/patrick-nagel.net\/blog\/wp-content\/uploads\/2008\/11\/batterylog_desktop_screenshot-300x175.png 300w, https:\/\/patrick-nagel.net\/blog\/wp-content\/uploads\/2008\/11\/batterylog_desktop_screenshot.png 1024w\" sizes=\"auto, (max-width: 300px) 85vw, 300px\" \/><\/a><\/p>\n<h3>Data capturing:<\/h3>\n<p>The &#8216;remaining capacity&#8217; value from \/proc\/acpi\/battery\/BAT1\/state and a timestamp were written to a file every minute:<\/p>\n<pre>#!\/bin\/bash\r\nLOG=\"\/home\/pn\/batterylog\"\r\necho \"Battery log, started $(date)\" >$LOG\r\nwhile ((1))\r\ndo\r\n  TIME=$(date \"+%s\")\r\n  REMAINING=$(grep \"remaining capacity\" \/proc\/acpi\/battery\/BAT1\/state | cut -b 26- | cut -d' ' -f1)\r\n  echo \"$TIME $REMAINING\" >> $LOG\r\n  sync\r\n  sleep 60\r\ndone<\/pre>\n<h3>Results:<\/h3>\n<p>The battery lasted a little longer than <strong>4 hours and 50 minutes<\/strong> which means approx. 6.7 watts average power consumption while browsing the web over WLAN.<br \/>\nThis time I decided to use OpenOffice Calc to create the graph &#8211; here is a screenshot of it:<br \/>\n<a href=\"http:\/\/patrick-nagel.net\/blog\/wp-content\/uploads\/2008\/11\/batterylog.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/patrick-nagel.net\/blog\/wp-content\/uploads\/2008\/11\/batterylog-300x205.png\" alt=\"\" title=\"Dell Mini battery consumption log\" width=\"300\" height=\"205\" class=\"alignnone size-medium wp-image-87\" srcset=\"https:\/\/patrick-nagel.net\/blog\/wp-content\/uploads\/2008\/11\/batterylog-300x205.png 300w, https:\/\/patrick-nagel.net\/blog\/wp-content\/uploads\/2008\/11\/batterylog.png 645w\" sizes=\"auto, (max-width: 300px) 85vw, 300px\" \/><\/a><br \/>\n<small>(And here is the spreadsheet, if you&#8217;re interested: <a href='http:\/\/patrick-nagel.net\/blog\/wp-content\/uploads\/2008\/11\/batterylog.ods'>Dell Mini battery consumption log (Spreadsheet)<\/a>)<\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Last night I ran a quick test on how long my new Dell Inspiron Mini 9&#8216;s battery would last under &#8220;normal netbook workload&#8221;. Details: OS: Gentoo Linux (what else? \ud83d\ude09 ) Running programs: KDE 4, Konqueror, Thunderbird (fetching mail via IMAPS every 5 minutes) Conditions: Wireless connection to Internet, shell script kills and reloads Konqueror &hellip; <a href=\"https:\/\/patrick-nagel.net\/blog\/archives\/84\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Dell Inspiron Mini 9 battery consumption test&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,11,9,13,16],"tags":[],"class_list":["post-84","post","type-post","status-publish","format-standard","hentry","category-uncategorized","category-gentoo-linux","category-kde","category-linux-general","category-linux-on-dell-mini-9-netbook"],"_links":{"self":[{"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/posts\/84","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/comments?post=84"}],"version-history":[{"count":6,"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/posts\/84\/revisions"}],"predecessor-version":[{"id":117,"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/posts\/84\/revisions\/117"}],"wp:attachment":[{"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/media?parent=84"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/categories?post=84"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/patrick-nagel.net\/blog\/wp-json\/wp\/v2\/tags?post=84"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}