This project demonstrates a cross-platform MonoGame 3.8.* sample for displaying battery and power status information. The codebase is structured for .NET 8 and supports Windows, DesktopGL, Android, and iOS platforms.
/Core # Shared game logic (Game1, PowerStatus, etc.)
/Platforms/Windows # Windows-specific entry point and implementation
/Platforms/DesktopGL # DesktopGL-specific entry point and implementation
/Platforms/Android # Android-specific entry point and implementation
/Platforms/iOS # iOS-specific entry point and implementation
/Content # Pre-built .xnb content files
BatteryStatus.sln
) in Visual Studio and build/run the desired platform project.Ctrl+Shift+B
to build (build-windows
or build-desktopgl
).F5
to run/debug (Windows
or DesktopGL
).Content.mgcb
is used; the project uses pre-built .xnb
files directly.#if
blocks.MIT or as specified by CartBlanche.