<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: battery code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Sun, 27 Jul 2008 01:26:41 GMT</pubDate>
    <description>DZone Snippets: battery code</description>
    <item>
      <title>New sysinfo module</title>
      <link>http://snippets.dzone.com/posts/show/378</link>
      <description>In the 1.1.0 release of python series 60, the sysinfo module &lt;br /&gt;provides some useful information&lt;br /&gt;&lt;code&gt;&lt;br /&gt;from sysinfo import *&lt;br /&gt;&lt;br /&gt;level = battery()  # from 0 to 7&lt;br /&gt;sig = signal() # signal strength 0-7&lt;br /&gt;&lt;br /&gt;width, height = displaypixels() # 176, 208&lt;br /&gt;free_space = drive_free()['C:'] # 'E:' for memcard&lt;br /&gt;&lt;br /&gt;imei_num = imei()  # can be used as ID&lt;br /&gt;osversion() # (major, minor, build)&lt;br /&gt;swversion() # "V 3.42.1 16-10-03 NHL-10 (c) NMP"</description>
      <pubDate>Thu, 09 Jun 2005 14:55:20 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/378</guid>
      <author>korakot (Korakot Chaovavanich)</author>
    </item>
  </channel>
</rss>
