23 lines
No EOL
287 B
ReStructuredText
23 lines
No EOL
287 B
ReStructuredText
.. _lib_battery:
|
|
|
|
Battery
|
|
********
|
|
|
|
Class Documentation
|
|
====================
|
|
|
|
.. autoclass:: compLib.Battery.Battery
|
|
:members:
|
|
|
|
|
|
Examples
|
|
=========
|
|
|
|
Printing percentage
|
|
--------------------
|
|
|
|
.. code-block:: python
|
|
|
|
from compLib.Battery import Battery
|
|
|
|
print(Battery.percent()) |